aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/mem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz/mem.cpp')
-rw-r--r--engines/glk/frotz/mem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/frotz/mem.cpp b/engines/glk/frotz/mem.cpp
index 19d2c3da3d..0665eea86f 100644
--- a/engines/glk/frotz/mem.cpp
+++ b/engines/glk/frotz/mem.cpp
@@ -35,8 +35,8 @@ Mem::Mem() : story_fp(nullptr), story_size(0), first_undo(nullptr), last_undo(nu
void Mem::initialize() {
initializeStoryFile();
- initializeUndo();
loadGameHeader();
+ initializeUndo();
// Allocate memory for story data
if ((zmp = (zbyte *)realloc(zmp, story_size)) == nullptr)