aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/drew.cpp
diff options
context:
space:
mode:
authorD G Turner2012-06-14 00:19:34 +0100
committerD G Turner2012-06-14 00:19:34 +0100
commit87eb651886ef911d8026d777abec72c88ffdf32f (patch)
tree962e5f05fe4626398e75266906f81d33194b0a67 /engines/toon/drew.cpp
parentfcfff28c5f3cabf193d83846cfe9d90f0153d187 (diff)
downloadscummvm-rg350-87eb651886ef911d8026d777abec72c88ffdf32f.tar.gz
scummvm-rg350-87eb651886ef911d8026d777abec72c88ffdf32f.tar.bz2
scummvm-rg350-87eb651886ef911d8026d777abec72c88ffdf32f.zip
TOON: Migrate Character API x,y coordinates and subclasses to int16.
This harmonises the usage with Common::Point.
Diffstat (limited to 'engines/toon/drew.cpp')
-rw-r--r--engines/toon/drew.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/drew.cpp b/engines/toon/drew.cpp
index df5cfcfa03..dfd3f515fa 100644
--- a/engines/toon/drew.cpp
+++ b/engines/toon/drew.cpp
@@ -48,7 +48,7 @@ bool CharacterDrew::setupPalette() {
return false;
}
-void CharacterDrew::setPosition(int32 x, int32 y) {
+void CharacterDrew::setPosition(int16 x, int16 y) {
debugC(5, kDebugCharacter, "setPosition(%d, %d)", x, y);
_z = _vm->getLayerAtPoint(x, y);