[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.42,1.43
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Tue Aug 17 17:20:07 CEST 2004
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24944/driver
Modified Files:
animation.cpp
Log Message:
Don't try to free text sprites with the memory manager - it uses standard
malloc() nowadays! (This only affected the "dummy" player.
Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/animation.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- animation.cpp 9 Jun 2004 06:33:28 -0000 1.42
+++ animation.cpp 17 Aug 2004 13:52:18 -0000 1.43
@@ -373,7 +373,7 @@
_vm->_graphics->createSurface(&msgSprite, &msgSurface);
_vm->_graphics->drawSurface(&msgSprite, msgSurface);
_vm->_graphics->deleteSurface(msgSurface);
- _vm->_memory->memFree(data);
+ free(data);
// In case the cutscene has a long lead-in, start just before
// the first line of text.
More information about the Scummvm-git-logs
mailing list