diff options
author | D G Turner | 2012-06-21 02:21:21 +0100 |
---|---|---|
committer | D G Turner | 2012-06-28 07:07:08 +0100 |
commit | 78b8ca5c7fd7296d88c381695534844879673b75 (patch) | |
tree | 2e5013ac1f6af5ee296050f27a592fd0fc78a6da /engines/toon/hotspot.cpp | |
parent | d73ed91051f9155f77162c50b99ca9efbb7d3b46 (diff) | |
download | scummvm-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.cpp | 4 |
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; |