[Scummvm-cvs-logs] scummvm master -> 98f77a66519bdf8f8004e1f78ed1822246919b58
dreammaster
dreammaster at scummvm.org
Wed Mar 11 01:12:01 CET 2015
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:
98f77a6651 MADS: Fix timer module hotspot remaining active after taking it
Commit: 98f77a66519bdf8f8004e1f78ed1822246919b58
https://github.com/scummvm/scummvm/commit/98f77a66519bdf8f8004e1f78ed1822246919b58
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-10T20:10:55-04:00
Commit Message:
MADS: Fix timer module hotspot remaining active after taking it
Changed paths:
engines/mads/screen.cpp
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 6199da5..5076bbb 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -538,7 +538,7 @@ void ScreenObjects::elementHighlighted() {
}
void ScreenObjects::setActive(ScrCategory category, int descId, bool active) {
- for (uint idx = 1; idx < size(); ++idx) {
+ for (uint idx = 1; idx <= size(); ++idx) {
ScreenObject &sObj = (*this)[idx];
if (sObj._category == category && sObj._descId == descId)
sObj._active = active;
More information about the Scummvm-git-logs
mailing list