aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-22 06:30:43 +0100
committerEugene Sandulenko2016-02-22 18:45:58 +0100
commit23bc6bb8462f995b1987612b225b5731a85e913e (patch)
tree95b79f0b3cf4e7c8ee53b60af54da86f54f6712b /engines/wage
parentdd6119bdad9f7b7d1c9224d70bc44221826eb0b3 (diff)
downloadscummvm-rg350-23bc6bb8462f995b1987612b225b5731a85e913e.tar.gz
scummvm-rg350-23bc6bb8462f995b1987612b225b5731a85e913e.tar.bz2
scummvm-rg350-23bc6bb8462f995b1987612b225b5731a85e913e.zip
WAGE: Initialize class variables
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/world.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 1ef2ea4467..40b1555e35 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -67,6 +67,9 @@ World::World(WageEngine *engine) {
_saveBeforeCloseMessage = nullptr;
_revertMessage = nullptr;
+ _globalScript = nullptr;
+ _player = nullptr;
+
_weaponMenuDisabled = true;
_engine = engine;