diff options
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 ff59ed9b18..5cf5181142 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -186,6 +186,13 @@ void Party::synchronize(Common::Serializer &s) { s.syncBytes(&dummy[0], 30); } +void Party::loadActiveParty() { + _activeParty.resize(_partyCount); + for (int i = 0; i < _partyCount; ++i) { + _activeParty[i] = _roster[_partyMembers[i]]; + } +} + bool Party::checkSkill(Skill skillId) { uint total = 0; for (uint i = 0; i < _activeParty.size(); ++i) { |