aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2016-01-17 23:23:52 -0500
committerPaul Gilbert2016-01-17 23:23:52 -0500
commit84eca2f5b0884414f8fb422c3919fca1a5683ee9 (patch)
treec7ef5a6831c3e2224daea0ce62dc0d7501e5e0c1 /engines/mads
parent5afdf3277ebe6ea334b928d20e54d9acac69c377 (diff)
downloadscummvm-rg350-84eca2f5b0884414f8fb422c3919fca1a5683ee9.tar.gz
scummvm-rg350-84eca2f5b0884414f8fb422c3919fca1a5683ee9.tar.bz2
scummvm-rg350-84eca2f5b0884414f8fb422c3919fca1a5683ee9.zip
MADS: Fix loading of conversation dialog messages
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/conversations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/conversations.cpp b/engines/mads/conversations.cpp
index 84e0f8395b..e2f2fa2107 100644
--- a/engines/mads/conversations.cpp
+++ b/engines/mads/conversations.cpp
@@ -677,8 +677,8 @@ void ConversationData::load(const Common::String &filename) {
_messages.resize(_messageCount);
for (uint idx = 0; idx < _messageCount; ++idx) {
- _messages[idx]._stringIndex = convFile->readUint32LE();
- _messages[idx]._count = convFile->readUint32LE();
+ _messages[idx]._stringIndex = convFile->readUint16LE();
+ _messages[idx]._count = convFile->readUint16LE();
}
delete convFile;