From 8940d7348aa966b8cf91706cea3b8f648e79d746 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 20 Oct 2011 22:50:13 +0000 Subject: TOLTECS: Add finalize() calls to file output code --- engines/toltecs/saveload.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/toltecs/saveload.cpp') diff --git a/engines/toltecs/saveload.cpp b/engines/toltecs/saveload.cpp index b895c7ca62..c421be4cd2 100644 --- a/engines/toltecs/saveload.cpp +++ b/engines/toltecs/saveload.cpp @@ -112,6 +112,7 @@ void ToltecsEngine::savegame(const char *filename, const char *description) { _anim->saveState(out); _screen->saveState(out); + out->finalize(); delete out; } -- cgit v1.2.3