mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- fix PingOutCar not resetting 'inform' (flags)
This commit is contained in:
parent
49fd729ef0
commit
bbbe7c0e33
@ -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));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user