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 18dbaccf62..eaec82e37e 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -235,7 +235,7 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
CreateSurface(&msgSprite, &msgSurface);
DrawSurface(&msgSprite, msgSurface);
DeleteSurface(msgSurface);
- Free_mem(data);
+ memory.freeMemory(data);
// In case the cutscene has a long lead-in, start just before
// the first line of text.