diff options
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 6f14be20b7..10ba972d8d 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -667,7 +667,7 @@ void Scripts::doEndGame2() { int v2 = 0; for (int idx = 0; idx < party._partyCount; ++idx) { - PlayerStruct &player = party._activeParty[idx]; + Character &player = party._activeParty[idx]; if (player.hasAward(77)) { v2 = 2; break; @@ -696,7 +696,7 @@ void Scripts::doEnding(const Common::String &endStr, int v2) { */ bool Scripts::ifProc(int action, uint32 mask, int mode, int charIndex) { Party &party = *_vm->_party; - PlayerStruct &ps = party._activeParty[charIndex]; + Character &ps = party._activeParty[charIndex]; uint v = 0; switch (action) { |