diff options
author | Nicola Mettifogo | 2007-03-24 19:55:34 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-24 19:55:34 +0000 |
commit | 3034cb127329da8de756cee5a48e927206e396fb (patch) | |
tree | bf43d84811dc9df5947dec9152b5a412e280ca26 /engines/parallaction/walk.cpp | |
parent | afe981d3403034e1714875ef5b77502f8ec9885d (diff) | |
download | scummvm-rg350-3034cb127329da8de756cee5a48e927206e396fb.tar.gz scummvm-rg350-3034cb127329da8de756cee5a48e927206e396fb.tar.bz2 scummvm-rg350-3034cb127329da8de756cee5a48e927206e396fb.zip |
made more functions members of Parallaction
svn-id: r26294
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 05607a505b..130fa57e78 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -402,7 +402,7 @@ uint16 checkDoor() { _zoneTrap = NULL; } else { - runCommands(z->_commands, z); + _vm->runCommands(z->_commands, z); } } @@ -410,13 +410,13 @@ uint16 checkDoor() { if (z != NULL) { _localFlags[_vm->_currentLocationIndex] |= kFlagsEnter; - runCommands(z->_commands, z); + _vm->runCommands(z->_commands, z); _localFlags[_vm->_currentLocationIndex] &= ~kFlagsEnter; _zoneTrap = z; } else if (_zoneTrap != NULL) { _localFlags[_vm->_currentLocationIndex] |= kFlagsExit; - runCommands(_zoneTrap->_commands, _zoneTrap); + _vm->runCommands(_zoneTrap->_commands, _zoneTrap); _localFlags[_vm->_currentLocationIndex] &= ~kFlagsExit; _zoneTrap = NULL; } |