diff --git a/src/combat_ai.cc b/src/combat_ai.cc index 2110b9d..315f574 100644 --- a/src/combat_ai.cc +++ b/src/combat_ai.cc @@ -1464,7 +1464,7 @@ static int aiFindAttackers(Object* critter, Object** whoHitMePtr, Object** whoHi *whoHitFriendPtr = NULL; } - if (*whoHitByFriendPtr != NULL) { + if (whoHitByFriendPtr != NULL) { *whoHitByFriendPtr = NULL; }