aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/hotspots.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-27 12:31:42 +0000
committerJohannes Schickel2009-08-27 12:31:42 +0000
commita502a7a365ee4ed6f3ab833b11ec1f9003597a4d (patch)
treecc7e1100fa9c442994a12cd4d7e0bf087eaaf3ab /engines/gob/hotspots.cpp
parent3e0d3ed380678b142b43bbbf264a1dcb797e7226 (diff)
downloadscummvm-rg350-a502a7a365ee4ed6f3ab833b11ec1f9003597a4d.tar.gz
scummvm-rg350-a502a7a365ee4ed6f3ab833b11ec1f9003597a4d.tar.bz2
scummvm-rg350-a502a7a365ee4ed6f3ab833b11ec1f9003597a4d.zip
Slight formatting and changed searchHotspot to be const.
svn-id: r43770
Diffstat (limited to 'engines/gob/hotspots.cpp')
-rw-r--r--engines/gob/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 4da2262eb1..e65ad13088 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1564,7 +1564,7 @@ int16 Hotspots::findCursor(uint16 x, uint16 y) const {
return cursor;
}
-bool Hotspots::searchHotspot(int16 shortId) {
+bool Hotspots::searchHotspot(int16 shortId) const {
for (int i = 0; i < kHotspotCount; i++) {
if (_hotspots[i].isDisabled())
return false;