aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-05 23:14:46 +0000
committerMartin Kiewitz2010-02-05 23:14:46 +0000
commitbf82c49ce4249d4ceb776e6c0e30efdd4e4e97a8 (patch)
treeebfe15f87ca5d9f04a33b8c89d22180c8c57ff6a
parent4be44fe9a2292699f105382a475b2def725cb36d (diff)
downloadscummvm-rg350-bf82c49ce4249d4ceb776e6c0e30efdd4e4e97a8.tar.gz
scummvm-rg350-bf82c49ce4249d4ceb776e6c0e30efdd4e4e97a8.tar.bz2
scummvm-rg350-bf82c49ce4249d4ceb776e6c0e30efdd4e4e97a8.zip
SCI: removing int8 inside kernelSetNowSeen as well, didnt make any sense :P
svn-id: r47922
-rw-r--r--engines/sci/graphics/compare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/compare.cpp b/engines/sci/graphics/compare.cpp
index ffb295095b..ec994b540d 100644
--- a/engines/sci/graphics/compare.cpp
+++ b/engines/sci/graphics/compare.cpp
@@ -116,8 +116,8 @@ void GfxCompare::kernelSetNowSeen(reg_t objectReference) {
GfxView *view = NULL;
Common::Rect celRect(0, 0);
GuiResourceId viewId = (GuiResourceId)GET_SEL32V(_segMan, objectReference, SELECTOR(view));
- int8 loopNo = (int8)GET_SEL32V(_segMan, objectReference, SELECTOR(loop));
- int8 celNo = (int8)GET_SEL32V(_segMan, objectReference, SELECTOR(cel));
+ int16 loopNo = GET_SEL32V(_segMan, objectReference, SELECTOR(loop));
+ int16 celNo = GET_SEL32V(_segMan, objectReference, SELECTOR(cel));
int16 x = (int16)GET_SEL32V(_segMan, objectReference, SELECTOR(x));
int16 y = (int16)GET_SEL32V(_segMan, objectReference, SELECTOR(y));
int16 z = 0;