mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2025-02-23 06:40:55 +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…
x
Reference in New Issue
Block a user