From bbbe7c0e339cd2f5663c94b5da1dd3e6ee4eada1 Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Sun, 30 May 2021 12:43:54 +0600 Subject: [PATCH] - fix PingOutCar not resetting 'inform' (flags) --- src_rebuild/Game/C/civ_ai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src_rebuild/Game/C/civ_ai.c b/src_rebuild/Game/C/civ_ai.c index de1d8320..cdd180af 100644 --- a/src_rebuild/Game/C/civ_ai.c +++ b/src_rebuild/Game/C/civ_ai.c @@ -1621,6 +1621,8 @@ int PingOutCar(CAR_DATA * cp) // inform target that car was pinged out if (cp->inform) *cp->inform ^= TARGET_FLAG_CAR_PINGED_IN; + + cp->inform = NULL; ClearMem((char*)cp, sizeof(CAR_DATA));