From bb62b07f4fbbe283a1c50169d0de752c2a4baa06 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 17 Aug 2004 13:52:18 +0000 Subject: 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 --- sword2/driver/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2') 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. -- cgit v1.2.3