Fix wrong pointer dereferecing in aiFindAttackers (#324)
This commit is contained in:
parent
0e447c55a8
commit
81fce5f4a2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue