diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/smush/saud_channel.cpp | 3 | ||||
-rw-r--r-- | engines/scumm/smush/smush_player.cpp | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/scumm/smush/saud_channel.cpp b/engines/scumm/smush/saud_channel.cpp index ca64b38556..7c41a8734b 100644 --- a/engines/scumm/smush/saud_channel.cpp +++ b/engines/scumm/smush/saud_channel.cpp @@ -34,7 +34,8 @@ SaudChannel::SaudChannel(int32 track) : SmushChannel(track), _nbframes(0), _markReached(false), _index(0), - _keepSize(false) { + _keepSize(false), + _flags(0) { } bool SaudChannel::isTerminated() const { diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp index 42ee0115c7..46f1447b7f 100644 --- a/engines/scumm/smush/smush_player.cpp +++ b/engines/scumm/smush/smush_player.cpp @@ -73,7 +73,12 @@ public: StringResource() : _nbStrings(0), - _lastId(-1) { + _lastId(-1), + _lastString(NULL) { + for (int i = 0; i < MAX_STRINGS; i++) { + _strings[i].id = 0; + _strings[i].string = NULL; + } } ~StringResource() { for (int32 i = 0; i < _nbStrings; i++) { |