aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/d_draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/d_draw.cpp')
-rw-r--r--sword2/driver/d_draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index 44069de1c5..407697439a 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -158,7 +158,7 @@ int32 MoviePlayer::play(char *filename, _movieTextObject *text[], uint8 *musicOu
g_display->createSurface(&msgSprite, &msgSurface);
g_display->drawSurface(&msgSprite, msgSurface);
g_display->deleteSurface(msgSurface);
- memory.freeMemory(data);
+ memory->freeMemory(data);
// In case the cutscene has a long lead-in, start just before
// the first line of text.