aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/party.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r--engines/xeen/party.cpp4
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];
}
}