aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-12-30 06:26:52 +0000
committerTravis Howell2003-12-30 06:26:52 +0000
commitf0c9f690e0d826fd64527cedca5a9663345381aa (patch)
tree783f0b62752e5396b22172e98aa2863233941b36 /scumm
parentd8f657adc0190c5cb388594530e9be9e97fc30b2 (diff)
downloadscummvm-rg350-f0c9f690e0d826fd64527cedca5a9663345381aa.tar.gz
scummvm-rg350-f0c9f690e0d826fd64527cedca5a9663345381aa.tar.bz2
scummvm-rg350-f0c9f690e0d826fd64527cedca5a9663345381aa.zip
Ooops, duplicate code.
svn-id: r12028
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 35dc7a7292..2f4fe3344f 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2958,12 +2958,9 @@ void ScummEngine_v6::o6_stampObject() {
int objnum = getObjectIndex(object);
if (objnum == -1)
return;
- if (objnum != -1) {
- _objs[objnum].x_pos = x * 8;
- _objs[objnum].y_pos = y * 8;
- }
+ _objs[objnum].x_pos = x * 8;
+ _objs[objnum].y_pos = y * 8;
putState(object, state);
-
drawObject(objnum, 0);
warning("o6_stampObject: (%d at (%d,%d) state %d)", object, x, y, state);