- fix PingOutCar not resetting 'inform' (flags)

This commit is contained in:
Ilya Shurumov 2021-05-30 12:43:54 +06:00 committed by InspirationByte
parent 49fd729ef0
commit bbbe7c0e33

View File

@ -1621,6 +1621,8 @@ int PingOutCar(CAR_DATA * cp)
// inform target that car was pinged out // inform target that car was pinged out
if (cp->inform) if (cp->inform)
*cp->inform ^= TARGET_FLAG_CAR_PINGED_IN; *cp->inform ^= TARGET_FLAG_CAR_PINGED_IN;
cp->inform = NULL;
ClearMem((char*)cp, sizeof(CAR_DATA)); ClearMem((char*)cp, sizeof(CAR_DATA));