From 5bcc47646451c8c1cfe358ff69f5e7f77336fc91 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Mon, 23 Jul 2012 04:37:25 +0200 Subject: WINTERMUTE: Initialize the BaseGame reference in BasePersistenceManager --- engines/wintermute/base/base_persistence_manager.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3