diff options
author | Paul Gilbert | 2018-11-23 20:59:47 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | c7a632ae2ed6a11500bc77b53540bb7ea23cb0d1 (patch) | |
tree | a3189391ab9dd004bd782c39b4e740c668e58a31 /engines/glk/frotz | |
parent | 5b9e1a53ad4c2baca32dbb3fce22230cc7e8bc40 (diff) | |
download | scummvm-rg350-c7a632ae2ed6a11500bc77b53540bb7ea23cb0d1.tar.gz scummvm-rg350-c7a632ae2ed6a11500bc77b53540bb7ea23cb0d1.tar.bz2 scummvm-rg350-c7a632ae2ed6a11500bc77b53540bb7ea23cb0d1.zip |
GLK: FROTZ: Fix initialization of undo data
Diffstat (limited to 'engines/glk/frotz')
-rw-r--r-- | engines/glk/frotz/mem.cpp | 2 |
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) |