diff options
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index a755ffb8..843f7da6 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -473,7 +473,7 @@ void Being::handleAttack(Being *victim, int damage, AttackType type) if (this != player_node) setAction(Being::ATTACK); #ifdef EATHENA_SUPPORT - if (getType() == PLAYER) + if (getType() == PLAYER && victim) { if (mEquippedWeapon && mEquippedWeapon->getAttackType() == ACTION_ATTACK_BOW) { |