This does nothing but fix indentation of a single block of code

git-svn-id: https://svn.eduke32.com/eduke32@7183 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-11-18 18:09:04 +00:00
parent 52eed46aa9
commit 89fe17e673

View file

@ -5940,27 +5940,24 @@ static void G_Startup(void)
if (numplayers > 1)
initprintf("Multiplayer initialized.\n");
char *cwd;
if (g_modDir[0] != '/' && (cwd = getcwd(NULL, 0)))
{
char *cwd;
if (g_modDir[0] != '/' && (cwd = getcwd(NULL, 0)))
Bchdir(g_modDir);
if (artLoadFiles("tiles000.art", MAXCACHE1DSIZE) < 0)
{
Bchdir(g_modDir);
if (artLoadFiles("tiles000.art",MAXCACHE1DSIZE) < 0)
{
Bchdir(cwd);
if (artLoadFiles("tiles000.art",MAXCACHE1DSIZE) < 0)
G_GameExit("Failed loading art.");
}
Bchdir(cwd);
#ifndef __ANDROID__ //This crashes on *some* Android devices. Small onetime memory leak. TODO fix above function
Bfree(cwd);
#endif
if (artLoadFiles("tiles000.art", MAXCACHE1DSIZE) < 0)
G_GameExit("Failed loading art.");
}
else if (artLoadFiles("tiles000.art",MAXCACHE1DSIZE) < 0)
G_GameExit("Failed loading art.");
Bchdir(cwd);
#ifndef __ANDROID__ //This crashes on *some* Android devices. Small onetime memory leak. TODO fix above function
Bfree(cwd);
#endif
}
else if (artLoadFiles("tiles000.art",MAXCACHE1DSIZE) < 0)
G_GameExit("Failed loading art.");
// Make the fullscreen nuke logo background non-fullbright. Has to be
// after dynamic tile remapping (from C_Compile) and loading tiles.