mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01:00
Sync fix from miami
This commit is contained in:
parent
e17504a36a
commit
f887d515fa
@ -1003,9 +1003,11 @@ INITSAVEBUF
|
|||||||
WriteSaveHeader(buf, 'R', 'D', 'R', '\0', *size - SAVE_HEADER_SIZE);
|
WriteSaveHeader(buf, 'R', 'D', 'R', '\0', *size - SAVE_HEADER_SIZE);
|
||||||
|
|
||||||
#ifdef MAP_ENHANCEMENTS
|
#ifdef MAP_ENHANCEMENTS
|
||||||
|
bool bWaypointDeleted = false;
|
||||||
if (TargetMarkerId != -1) {
|
if (TargetMarkerId != -1) {
|
||||||
ClearBlip(TargetMarkerId);
|
ClearBlip(TargetMarkerId);
|
||||||
TargetMarkerId = -1;
|
TargetMarkerId = -1;
|
||||||
|
bWaypointDeleted = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1030,6 +1032,11 @@ INITSAVEBUF
|
|||||||
SkipSaveBuf(buf, sizeof(sRadarTraceSave));
|
SkipSaveBuf(buf, sizeof(sRadarTraceSave));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MAP_ENHANCEMENTS
|
||||||
|
if(bWaypointDeleted)
|
||||||
|
ToggleTargetMarker(TargetMarkerPos.x, TargetMarkerPos.y);
|
||||||
|
#endif
|
||||||
|
|
||||||
VALIDATESAVEBUF(*size);
|
VALIDATESAVEBUF(*size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user