diff options
Diffstat (limited to 'engines/xeen/party.cpp')
-rw-r--r-- | engines/xeen/party.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 49d86bee62..346011838c 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -584,7 +584,7 @@ void Party::giveTreasure() { if (_vm->_mode != MODE_RECORD_EVENTS && monstersPresent) return; - Common::fill(&combat._shooting[0], &combat._shooting[MAX_PARTY_COUNT], 0); + combat.clearShooting(); intf._charsShooting = false; intf.draw3d(true); @@ -817,7 +817,7 @@ bool Party::giveTake(int takeMode, uint takeVal, int giveMode, uint giveVal, int for (int idx = 0; idx < 39; ++idx) { if (Res.SPELLS_ALLOWED[idx2][idx] == takeVal) { - ps._spells[idx] = 0; + ps._spells[idx] = false; break; } } @@ -1086,7 +1086,7 @@ bool Party::giveTake(int takeMode, uint takeVal, int giveMode, uint giveVal, int for (int idx = 0; idx < 39; ++idx) { if (Res.SPELLS_ALLOWED[idx2][idx] == giveVal) { - ps._spells[idx] = 1; + ps._spells[idx] = true; intf.spellFX(&ps); break; } |