diff options
author | Filippos Karapetis | 2013-05-01 01:28:10 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-01 01:51:11 +0300 |
commit | 70f1c4d3159f54a9e3246696dce4cf5cbb468c7d (patch) | |
tree | 85c4f29797135dfab445942c9765a271cd9d3cfa /engines/sci/engine | |
parent | abef7f64bdeea54b254acb16055f903da76380f5 (diff) | |
download | scummvm-rg350-70f1c4d3159f54a9e3246696dce4cf5cbb468c7d.tar.gz scummvm-rg350-70f1c4d3159f54a9e3246696dce4cf5cbb468c7d.tar.bz2 scummvm-rg350-70f1c4d3159f54a9e3246696dce4cf5cbb468c7d.zip |
SCI: Fix a non-initialized variable in MessageState - CID 1003119
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/message.h b/engines/sci/engine/message.h index 4444ede3bb..5bead82efe 100644 --- a/engines/sci/engine/message.h +++ b/engines/sci/engine/message.h @@ -60,7 +60,7 @@ typedef Common::Stack<CursorStack> CursorStackStack; class MessageState { public: - MessageState(SegManager *segMan) : _segMan(segMan) { } + MessageState(SegManager *segMan) : _segMan(segMan), _lastReturnedModule(0) { } int getMessage(int module, MessageTuple &t, reg_t buf); int nextMessage(reg_t buf); int messageSize(int module, MessageTuple &t); |