aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-23 04:37:25 +0200
committerEinar Johan Trøan Sømåen2012-07-23 04:37:25 +0200
commit5bcc47646451c8c1cfe358ff69f5e7f77336fc91 (patch)
tree55afb9bbcdae2d46cfb77a857a77bc9c0d56baf2
parentc7eda9abc80d1912148cae4292b94620c67a9c19 (diff)
downloadscummvm-rg350-5bcc47646451c8c1cfe358ff69f5e7f77336fc91.tar.gz
scummvm-rg350-5bcc47646451c8c1cfe358ff69f5e7f77336fc91.tar.bz2
scummvm-rg350-5bcc47646451c8c1cfe358ff69f5e7f77336fc91.zip
WINTERMUTE: Initialize the BaseGame reference in BasePersistenceManager
-rw-r--r--engines/wintermute/base/base_persistence_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/base/base_persistence_manager.cpp b/engines/wintermute/base/base_persistence_manager.cpp
index da38806888..bcdb93a93e 100644
--- a/engines/wintermute/base/base_persistence_manager.cpp
+++ b/engines/wintermute/base/base_persistence_manager.cpp
@@ -59,6 +59,7 @@ BasePersistenceManager::BasePersistenceManager(BaseGame *inGame, const char *sav
_offset = 0;
_saveStream = NULL;
_loadStream = NULL;
+ _gameRef = inGame;
_richBuffer = NULL;
_richBufferSize = 0;