diff options
author | Strangerke | 2014-05-27 21:50:02 +0200 |
---|---|---|
committer | Strangerke | 2014-05-27 21:51:08 +0200 |
commit | 91728aae9bc0f3fc1308c8d5bbe06afe4a3afc3d (patch) | |
tree | 543b0ab8edb0245bb651a775208b1cce8fa5e7e9 /engines/mads | |
parent | e59bfb2b9fd4c29d499a146cf162307b2c686164 (diff) | |
download | scummvm-rg350-91728aae9bc0f3fc1308c8d5bbe06afe4a3afc3d.tar.gz scummvm-rg350-91728aae9bc0f3fc1308c8d5bbe06afe4a3afc3d.tar.bz2 scummvm-rg350-91728aae9bc0f3fc1308c8d5bbe06afe4a3afc3d.zip |
MADS: Initialize several other variables
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/game.cpp | 2 | ||||
-rw-r--r-- | engines/mads/hotspots.cpp | 1 | ||||
-rw-r--r-- | engines/mads/messages.cpp | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp index 0576703577..05dd932482 100644 --- a/engines/mads/game.cpp +++ b/engines/mads/game.cpp @@ -76,8 +76,10 @@ Game::Game(MADSEngine *vm) _anyEmergency = false; _triggerMode = SEQUENCE_TRIGGER_PARSER; _triggerSetupMode = SEQUENCE_TRIGGER_DAEMON; + _trigger = 0; _winStatus = 0; _widepipeCtr = 0; + _fx = kTransitionNone; // Load the inventory object list _objects.load(); diff --git a/engines/mads/hotspots.cpp b/engines/mads/hotspots.cpp index 497791c5a9..4fefe9de70 100644 --- a/engines/mads/hotspots.cpp +++ b/engines/mads/hotspots.cpp @@ -32,6 +32,7 @@ DynamicHotspot::DynamicHotspot() { _verbId = 0; _articleNumber = 0; _cursor = CURSOR_NONE; + _active = false; } void DynamicHotspot::synchronize(Common::Serializer &s) { diff --git a/engines/mads/messages.cpp b/engines/mads/messages.cpp index f5d1047a86..ae56f871f4 100644 --- a/engines/mads/messages.cpp +++ b/engines/mads/messages.cpp @@ -32,6 +32,9 @@ namespace MADS { RandomMessages::RandomMessages() { reserve(RANDOM_MESSAGE_SIZE); _randomSpacing = 0; + _color = -1; + _duration = 0; + _scrollRate = -1; } void RandomMessages::reset() { |