diff options
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 40f0bd2805..a4c9e64e80 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -585,7 +585,7 @@ void PathWalker_BR::doWalk(State &s) { if (s._walkDelay > 0) { s._walkDelay--; - if (s._walkDelay == 0 && s._a->_scriptName) { + if (s._walkDelay == 0 && !s._a->_scriptName.empty()) { // stop script and reset s._a->_flags &= ~kFlagsActing; // _vm->_programExec->resetProgram(s._a->_scriptName); |