mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 19:02:45 +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
4c9cdcca0d
commit
217ac14ac5
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…
Reference in a new issue