Merge branch 'midsave-addons' into 'next'

Allow Cosmetic Add-Ons Mid-Save

Closes #911

See merge request STJr/SRB2!1877
This commit is contained in:
sphere 2023-05-25 21:01:30 +00:00
commit cf0c5f9084

View file

@ -8146,7 +8146,7 @@ static boolean P_LoadAddon(UINT16 numlumps)
ST_Start();
// Prevent savefile cheating
if (cursaveslot > 0)
if (modifiedgame && (cursaveslot > 0))
cursaveslot = 0;
if (replacedcurrentmap && gamestate == GS_LEVEL && (netgame || multiplayer))