mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Fix EDUKE32_STANDALONE crash when calling G_DeleteOldSaves() at startup in debug builds
git-svn-id: https://svn.eduke32.com/eduke32@7599 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
879cb550a6
commit
0dcceb9147
1 changed files with 4 additions and 4 deletions
|
@ -6180,10 +6180,6 @@ int app_main(int argc, char const * const * argv)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EDUKE32_STANDALONE
|
|
||||||
G_DeleteOldSaves();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
G_ExtPreInit(argc, argv);
|
G_ExtPreInit(argc, argv);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
@ -6226,6 +6222,10 @@ int app_main(int argc, char const * const * argv)
|
||||||
// accesses g_player[0].
|
// accesses g_player[0].
|
||||||
G_MaybeAllocPlayer(0);
|
G_MaybeAllocPlayer(0);
|
||||||
|
|
||||||
|
#ifdef EDUKE32_STANDALONE
|
||||||
|
G_DeleteOldSaves();
|
||||||
|
#endif
|
||||||
|
|
||||||
G_CheckCommandLine(argc,argv);
|
G_CheckCommandLine(argc,argv);
|
||||||
|
|
||||||
// This needs to happen afterwards, as G_CheckCommandLine() is where we set
|
// This needs to happen afterwards, as G_CheckCommandLine() is where we set
|
||||||
|
|
Loading…
Reference in a new issue