Fix wrong pointer dereferecing in aiFindAttackers (#324)

This commit is contained in:
Vasilii Rogin 2023-10-09 20:50:59 +03:00 committed by GitHub
parent 0e447c55a8
commit 81fce5f4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1464,7 +1464,7 @@ static int aiFindAttackers(Object* critter, Object** whoHitMePtr, Object** whoHi
*whoHitFriendPtr = NULL; *whoHitFriendPtr = NULL;
} }
if (*whoHitByFriendPtr != NULL) { if (whoHitByFriendPtr != NULL) {
*whoHitByFriendPtr = NULL; *whoHitByFriendPtr = NULL;
} }