aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorD G Turner2014-05-26 23:06:51 +0100
committerD G Turner2014-05-26 23:06:51 +0100
commite80f960559f96ae6106edbde5bd317f60bc05014 (patch)
tree73c04e5338e6cb84eeee1875f13f6e5a0baecbf9 /engines/mads
parent8c3e8624f04621d947f94bad6f19b55ad961530a (diff)
downloadscummvm-rg350-e80f960559f96ae6106edbde5bd317f60bc05014.tar.gz
scummvm-rg350-e80f960559f96ae6106edbde5bd317f60bc05014.tar.bz2
scummvm-rg350-e80f960559f96ae6106edbde5bd317f60bc05014.zip
MADS: Fix missing initialization in MADSAction class.
Fixes CID #1216232.
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/action.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp
index 0b853e1182..4672ffa54c 100644
--- a/engines/mads/action.cpp
+++ b/engines/mads/action.cpp
@@ -55,6 +55,7 @@ MADSAction::MADSAction(MADSEngine *vm) : _vm(vm) {
_statusTextIndex = -1;
_selectedAction = 0;
_inProgress = false;
+ _pickedWord = -1;
_savedFields._commandSource = 0;
_savedFields._mainObjectSource = 0;