diff options
author | Paul Gilbert | 2015-02-09 22:01:01 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-09 22:01:01 -0500 |
commit | a612dd686c27303bdbe6b2dba89aef79bc8db8e0 (patch) | |
tree | 2d944b9b2f6b01a7b33553c7006bb6393c64c8db /engines/xeen/party.cpp | |
parent | c798a555105c58f82d373b92b479a577d4215cb9 (diff) | |
download | scummvm-rg350-a612dd686c27303bdbe6b2dba89aef79bc8db8e0.tar.gz scummvm-rg350-a612dd686c27303bdbe6b2dba89aef79bc8db8e0.tar.bz2 scummvm-rg350-a612dd686c27303bdbe6b2dba89aef79bc8db8e0.zip |
XEEN: Further refactoring for party dialog setup
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r-- | engines/xeen/party.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 5cf5181142..6bff8fd995 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -231,9 +231,9 @@ bool Party::isInParty(int charId) { return false; } -void Party::copyPartyToRoster(Roster &r) { +void Party::copyPartyToRoster() { for (int i = 0; i < _partyCount; ++i) { - r[_partyMembers[i]] = _activeParty[i]; + _roster[_partyMembers[i]] = _activeParty[i]; } } |