[Scummvm-cvs-logs] scummvm master -> 84eca2f5b0884414f8fb422c3919fca1a5683ee9
dreammaster
dreammaster at scummvm.org
Mon Jan 18 05:24:52 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
84eca2f5b0 MADS: Fix loading of conversation dialog messages
Commit: 84eca2f5b0884414f8fb422c3919fca1a5683ee9
https://github.com/scummvm/scummvm/commit/84eca2f5b0884414f8fb422c3919fca1a5683ee9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-01-17T23:23:52-05:00
Commit Message:
MADS: Fix loading of conversation dialog messages
Changed paths:
engines/mads/conversations.cpp
diff --git a/engines/mads/conversations.cpp b/engines/mads/conversations.cpp
index 84e0f83..e2f2fa2 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;
More information about the Scummvm-git-logs
mailing list