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
|
@ -4498,7 +4498,10 @@ void G_SaveGame(UINT32 slot, INT16 mapnum)
|
||||||
P_SaveGame(mapnum);
|
P_SaveGame(mapnum);
|
||||||
if (marathonmode)
|
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));
|
WRITEUINT8(save_p, (marathonmode & ~MA_INIT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue