diff options
Diffstat (limited to 'engines/wage/combat.cpp')
-rw-r--r-- | engines/wage/combat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/combat.cpp b/engines/wage/combat.cpp index 17b03d1d4a..be765a8488 100644 --- a/engines/wage/combat.cpp +++ b/engines/wage/combat.cpp @@ -106,7 +106,7 @@ void WageEngine::performCombatAction(Chr *npc, Chr *player) { bool winning = (npc->_context._statVariables[PHYS_HIT_CUR] > player->_context._statVariables[PHYS_HIT_CUR]); int validMoves = getValidMoveDirections(npc); - WeaponArray *weapons = npc->getWeapons(false); + ObjArray *weapons = npc->getWeapons(false); ObjArray *magics = npc->getMagicalObjects(); // TODO: Figure out under what circumstances we need to add +1 // for the chance (e.g. only when all values were set to 0?). @@ -177,7 +177,7 @@ void WageEngine::performCombatAction(Chr *npc, Chr *player) { delete magics; } -void WageEngine::performAttack(Chr *attacker, Chr *victim, Weapon *weapon) { +void WageEngine::performAttack(Chr *attacker, Chr *victim, Obj *weapon) { warning("STUB: performAttack()"); } |