aboutsummaryrefslogtreecommitdiff
path: root/object.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-05-20 16:02:29 +0000
committerVincent Hamm2002-05-20 16:02:29 +0000
commit1db4ae7c2f233c1825a9b4719134b39942cd23e3 (patch)
tree644d983e1c8564763b0cde11015fcefaf661212b /object.cpp
parent3da77a05900e51d9ad3f1051b18c2b4d46b631a5 (diff)
downloadscummvm-rg350-1db4ae7c2f233c1825a9b4719134b39942cd23e3.tar.gz
scummvm-rg350-1db4ae7c2f233c1825a9b4719134b39942cd23e3.tar.bz2
scummvm-rg350-1db4ae7c2f233c1825a9b4719134b39942cd23e3.zip
Temp removal of the actor walk script execution to fix dig's walking
svn-id: r4364
Diffstat (limited to 'object.cpp')
-rw-r--r--object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp
index be1f948aca..07615e1a8b 100644
--- a/object.cpp
+++ b/object.cpp
@@ -1176,7 +1176,7 @@ void Scumm::enqueueObject(int objectNumber, int objectX, int objectY, int object
eo->areaY = _enqueue_c;
eo->areaWidth = _enqueue_d;
eo->areaHeight = _enqueue_e;
- eo->posX = objectX;
+ eo->posX = objectX + (camera._cur.x & 7);
eo->posY = objectY;
if (objectWidth == 0) {
od = &_objs[getObjectIndex(objectNumber)];