diff options
author | Paul Gilbert | 2015-03-10 20:10:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-10 20:10:55 -0400 |
commit | 98f77a66519bdf8f8004e1f78ed1822246919b58 (patch) | |
tree | 77d0301ca7dc69e80f8b4c24148ff295ebd1b7f7 | |
parent | b03d46ceeb2c8969fa496298a6bfc8c49b6994f7 (diff) | |
download | scummvm-rg350-98f77a66519bdf8f8004e1f78ed1822246919b58.tar.gz scummvm-rg350-98f77a66519bdf8f8004e1f78ed1822246919b58.tar.bz2 scummvm-rg350-98f77a66519bdf8f8004e1f78ed1822246919b58.zip |
MADS: Fix timer module hotspot remaining active after taking it
-rw-r--r-- | engines/mads/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp index 6199da5925..5076bbb099 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; |