- 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

@ -1622,6 +1622,8 @@ int PingOutCar(CAR_DATA * cp)
if (cp->inform)
*cp->inform ^= TARGET_FLAG_CAR_PINGED_IN;
cp->inform = NULL;
ClearMem((char*)cp, sizeof(CAR_DATA));
cp->controlType = CONTROL_TYPE_NONE;