diff options
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/objects/walk/walk_mgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pink/objects/walk/walk_mgr.cpp b/engines/pink/objects/walk/walk_mgr.cpp index ab221921bc..c07932de55 100644 --- a/engines/pink/objects/walk/walk_mgr.cpp +++ b/engines/pink/objects/walk/walk_mgr.cpp @@ -60,9 +60,6 @@ void WalkMgr::toConsole() { } void WalkMgr::start(WalkLocation *destination) { - if (_isWalking) - return; - if (_current.name.empty()) { _current.name = _locations[0]->getName(); _current.coords = getLocationCoordinates(_locations[0]->getName()); @@ -70,6 +67,9 @@ void WalkMgr::start(WalkLocation *destination) { _destination = destination; + if (_isWalking) + return; + if (_current.name == _destination->getName()) { end(); } else { |