diff options
Diffstat (limited to 'engines/parallaction/commands.cpp')
-rw-r--r-- | engines/parallaction/commands.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/commands.cpp b/engines/parallaction/commands.cpp index 340019491f..087abed156 100644 --- a/engines/parallaction/commands.cpp +++ b/engines/parallaction/commands.cpp @@ -20,6 +20,8 @@ * */ +#include "common/stdafx.h" + #include "parallaction/parallaction.h" #include "parallaction/parser.h" #include "parallaction/commands.h" @@ -312,7 +314,7 @@ void Parallaction::runCommands(CommandList& list, Zone *z) { continue; } - WalkNode *vC = buildWalkPath(u->_move._x, u->_move._y); + WalkNodeList *vC = _vm->_char._builder.buildPath(u->_move._x, u->_move._y); addJob(&jobWalk, vC, kPriority19 ); _engineFlags |= kEngineWalking; |