From 1f8a5ea24a8c031979289953fdb674029338d9bc Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 24 Jan 2015 09:29:17 -0500 Subject: XEEN: Changed PlayerStruct to Character --- engines/xeen/scripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/scripts.cpp') 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) { -- cgit v1.2.3