[Scummvm-git-logs] scummvm master -> bb28315ebb48c4aaa362be57c748ccac17e5c696
dreammaster
dreammaster at scummvm.org
Thu Dec 1 02:14:22 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:
bb28315ebb TITANIC: Fix getting remote highlight indexes
Commit: bb28315ebb48c4aaa362be57c748ccac17e5c696
https://github.com/scummvm/scummvm/commit/bb28315ebb48c4aaa362be57c748ccac17e5c696
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-30T20:14:17-05:00
Commit Message:
TITANIC: Fix getting remote highlight indexes
Changed paths:
engines/titanic/pet_control/pet_remote.cpp
diff --git a/engines/titanic/pet_control/pet_remote.cpp b/engines/titanic/pet_control/pet_remote.cpp
index f80403c..9123959 100644
--- a/engines/titanic/pet_control/pet_remote.cpp
+++ b/engines/titanic/pet_control/pet_remote.cpp
@@ -303,7 +303,7 @@ int CPetRemote::getHighlightIndex(RemoteGlyph val) {
// Loop through the data for the room
for (uint idx = 0; idx < remoteData.size(); ++idx) {
- if ((RemoteGlyph)remoteData[idx + 1] == val)
+ if ((RemoteGlyph)remoteData[idx] == val)
return idx;
}
More information about the Scummvm-git-logs
mailing list