mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 05:10:59 +00:00
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;
|
||||
}
|
||||
|
||||
if (*whoHitByFriendPtr != NULL) {
|
||||
if (whoHitByFriendPtr != NULL) {
|
||||
*whoHitByFriendPtr = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user