mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-05 22:42:54 +00:00
Introduce a live event backup penalty for non MA_INGAME runs, since the change to saving time causes problems for this.
This commit is contained in:
parent
517b243cb7
commit
7a8f44613c
1 changed files with 4 additions and 1 deletions
|
|
@ -4498,7 +4498,10 @@ void G_SaveGame(UINT32 slot, INT16 mapnum)
|
|||
P_SaveGame(mapnum);
|
||||
if (marathonmode)
|
||||
{
|
||||
WRITEUINT32(save_p, marathontime);
|
||||
UINT32 writetime = marathontime;
|
||||
if (!(marathonmode & MA_INGAME))
|
||||
marathontime += TICRATE*5; // live event backup penalty because we don't know how long it takes to get to the next map
|
||||
WRITEUINT32(save_p, writetime);
|
||||
WRITEUINT8(save_p, (marathonmode & ~MA_INIT));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue