diff options
author | Paul Gilbert | 2015-02-16 19:58:53 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-16 19:58:53 -0500 |
commit | c045adae76e414a8e6b57e48a651ea6c29ed280a (patch) | |
tree | a670a69209db79e8344d060c07f44b84c96f6804 /engines/xeen/party.cpp | |
parent | 30d94950beb02188644dcfd71f3c3a067d0a0c5a (diff) | |
download | scummvm-rg350-c045adae76e414a8e6b57e48a651ea6c29ed280a.tar.gz scummvm-rg350-c045adae76e414a8e6b57e48a651ea6c29ed280a.tar.bz2 scummvm-rg350-c045adae76e414a8e6b57e48a651ea6c29ed280a.zip |
XEEN: Implementing more combat logic
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r-- | engines/xeen/party.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 3913ad6a0d..993f156204 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -545,4 +545,11 @@ void Party::checkPartyDead() { _dead = true; } +/** + * Move party position to the run destination on the current map + */ +void Party::moveToRunLocation() { + _mazePosition = _vm->_map->mazeData()._runPosition; +} + } // End of namespace Xeen |