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
@ -1622,6 +1622,8 @@ int PingOutCar(CAR_DATA * cp)
|
|||||||
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));
|
||||||
|
|
||||||
cp->controlType = CONTROL_TYPE_NONE;
|
cp->controlType = CONTROL_TYPE_NONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user