diff options
author | Paul Gilbert | 2015-01-24 09:29:17 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-24 09:29:17 -0500 |
commit | 1f8a5ea24a8c031979289953fdb674029338d9bc (patch) | |
tree | a962349347e0529e817965a0df255f7fdac755b0 /engines/xeen/scripts.cpp | |
parent | b533822c0666ade51d2da2047e87351d3047fb58 (diff) | |
download | scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.tar.gz scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.tar.bz2 scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.zip |
XEEN: Changed PlayerStruct to Character
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) { |