aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index fefc32dc57..9a8e26b268 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -2358,7 +2358,8 @@ void Scumm::o5_walkActorToObject() {
obj = getVarOrDirectWord(0x40);
if (whereIsObject(obj)!=WIO_NOT_FOUND) {
getObjectXYPos(obj);
- startWalkActor(a, _xPos, _yPos, _dir);
+ if(_xPos !=0 && _yPos !=0) // fix while the early objects flags arent correct
+ startWalkActor(a, _xPos, _yPos, _dir);
}
}