aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/hotspot.cpp
diff options
context:
space:
mode:
authorD G Turner2012-06-21 02:21:21 +0100
committerD G Turner2012-06-28 07:07:08 +0100
commit78b8ca5c7fd7296d88c381695534844879673b75 (patch)
tree2e5013ac1f6af5ee296050f27a592fd0fc78a6da /engines/toon/hotspot.cpp
parentd73ed91051f9155f77162c50b99ca9efbb7d3b46 (diff)
downloadscummvm-rg350-78b8ca5c7fd7296d88c381695534844879673b75.tar.gz
scummvm-rg350-78b8ca5c7fd7296d88c381695534844879673b75.tar.bz2
scummvm-rg350-78b8ca5c7fd7296d88c381695534844879673b75.zip
TOON: Replace remaining int32 x,y,w and h coordinates with int16.
Diffstat (limited to 'engines/toon/hotspot.cpp')
-rw-r--r--engines/toon/hotspot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toon/hotspot.cpp b/engines/toon/hotspot.cpp
index ce2cdf1bb9..8b8f0ab577 100644
--- a/engines/toon/hotspot.cpp
+++ b/engines/toon/hotspot.cpp
@@ -57,7 +57,7 @@ void Hotspots::save(Common::WriteStream *Stream) {
}
}
-int32 Hotspots::FindBasedOnCorner(int32 x, int32 y) {
+int32 Hotspots::FindBasedOnCorner(int16 x, int16 y) {
debugC(1, kDebugHotspot, "FindBasedOnCorner(%d, %d)", x, y);
for (int32 i = 0; i < _numItems; i++) {
@@ -73,7 +73,7 @@ int32 Hotspots::FindBasedOnCorner(int32 x, int32 y) {
return -1;
}
-int32 Hotspots::Find(int32 x, int32 y) {
+int32 Hotspots::Find(int16 x, int16 y) {
debugC(6, kDebugHotspot, "Find(%d, %d)", x, y);
int32 priority = -1;