aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-28 14:25:39 +0000
committerFilippos Karapetis2009-10-28 14:25:39 +0000
commit6ac2680e8285d66bb6431855af3bc062652ad344 (patch)
tree2b53f51545efa9a486b4d5e679372583d5c6312c /engines/sci
parent394fc76719a05c1bb8e06145fa6bd036abfe4d3d (diff)
downloadscummvm-rg350-6ac2680e8285d66bb6431855af3bc062652ad344.tar.gz
scummvm-rg350-6ac2680e8285d66bb6431855af3bc062652ad344.tar.bz2
scummvm-rg350-6ac2680e8285d66bb6431855af3bc062652ad344.zip
Oops, removed leftover code (z was taken into account after all, but in a different place...)
svn-id: r45464
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 199e6dbd41..ccd900f12b 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -497,8 +497,6 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
int y = (int16)GET_SEL32V(segMan, object, y);
int z = (s->_kernel->_selectorCache.z > -1) ? (int16)GET_SEL32V(segMan, object, z) : 0;
- y -= z; // Subtract z offset
-
int ystep = (int16)GET_SEL32V(segMan, object, yStep);
int view = (int16)GET_SEL32V(segMan, object, view);