mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
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:
parent
52eed46aa9
commit
89fe17e673
1 changed files with 13 additions and 16 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue