aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-08-17 13:52:18 +0000
committerTorbjörn Andersson2004-08-17 13:52:18 +0000
commitbb62b07f4fbbe283a1c50169d0de752c2a4baa06 (patch)
tree8e298209dc956234a49f8cb1ea62e885921711bc /sword2
parent8d4c2fd9dd581dbf82845ac45913eec13d2a19f1 (diff)
downloadscummvm-rg350-bb62b07f4fbbe283a1c50169d0de752c2a4baa06.tar.gz
scummvm-rg350-bb62b07f4fbbe283a1c50169d0de752c2a4baa06.tar.bz2
scummvm-rg350-bb62b07f4fbbe283a1c50169d0de752c2a4baa06.zip
Don't try to free text sprites with the memory manager - it uses standard
malloc() nowadays! (This only affected the "dummy" player. svn-id: r14638
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/animation.cpp b/sword2/driver/animation.cpp
index 3fe259c7cf..bc68b2e0f0 100644
--- a/sword2/driver/animation.cpp
+++ b/sword2/driver/animation.cpp
@@ -373,7 +373,7 @@ int32 MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte
_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.