mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-07 22:21:01 +00:00
Fix savegamevar/readgamevar breakage from r3579
git-svn-id: https://svn.eduke32.com/eduke32@3636 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
385c582efa
commit
73cb94b389
2 changed files with 5 additions and 2 deletions
|
@ -950,7 +950,10 @@ void CONFIG_WriteSetup(uint32_t flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
SCRIPT_Save(ud.config.scripthandle, setupfilename);
|
SCRIPT_Save(ud.config.scripthandle, setupfilename);
|
||||||
|
|
||||||
|
if ((flags & 2) == 0)
|
||||||
SCRIPT_Free(ud.config.scripthandle);
|
SCRIPT_Free(ud.config.scripthandle);
|
||||||
|
|
||||||
OSD_Printf("Wrote %s\n",setupfilename);
|
OSD_Printf("Wrote %s\n",setupfilename);
|
||||||
CONFIG_WriteBinds();
|
CONFIG_WriteBinds();
|
||||||
Bfflush(NULL);
|
Bfflush(NULL);
|
||||||
|
|
|
@ -401,7 +401,7 @@ void G_SavePlayerMaybeMulti(int32_t slot)
|
||||||
{
|
{
|
||||||
Bassert(slot >= 0);
|
Bassert(slot >= 0);
|
||||||
|
|
||||||
CONFIG_WriteSetup(0);
|
CONFIG_WriteSetup(2);
|
||||||
|
|
||||||
if (g_netServer || ud.multimode > 1)
|
if (g_netServer || ud.multimode > 1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue