aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
authorStrangerke2016-06-01 07:42:14 +0200
committerStrangerke2016-06-01 07:44:02 +0200
commit359ef3de531b14095d1cb06dc4e3b5d2ff30693e (patch)
tree6ed74ab368c3ac4e29d4c49663ee149e60c796de /engines/mohawk/riven.cpp
parentc2efa8d9c48aef0d183c72ee2aad87245d08f715 (diff)
downloadscummvm-rg350-359ef3de531b14095d1cb06dc4e3b5d2ff30693e.tar.gz
scummvm-rg350-359ef3de531b14095d1cb06dc4e3b5d2ff30693e.tar.bz2
scummvm-rg350-359ef3de531b14095d1cb06dc4e3b5d2ff30693e.zip
MOHAWK: Initialize some more variables
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index 178139ab76..0f764aeded 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -55,9 +55,19 @@ MohawkEngine_Riven::MohawkEngine_Riven(OSystem *syst, const MohawkGameDescriptio
_gameOver = false;
_activatedSLST = false;
_ignoreNextMouseUp = false;
- _extrasFile = 0;
+ _extrasFile = nullptr;
_curStack = kStackUnknown;
- _hotspots = 0;
+ _hotspots = nullptr;
+ _gfx = nullptr;
+ _externalScriptHandler = nullptr;
+ _rnd = nullptr;
+ _scriptMan = nullptr;
+ _console = nullptr;
+ _saveLoad = nullptr;
+ _optionsDialog = nullptr;
+ _curCard = 0;
+ _hotspotCount = 0;
+ _curHotspot = -1;
removeTimer();
// NOTE: We can never really support CD swapping. All of the music files