mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 07:21:10 +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)
|
if (numplayers > 1)
|
||||||
initprintf("Multiplayer initialized.\n");
|
initprintf("Multiplayer initialized.\n");
|
||||||
|
|
||||||
|
char *cwd;
|
||||||
|
|
||||||
|
if (g_modDir[0] != '/' && (cwd = getcwd(NULL, 0)))
|
||||||
{
|
{
|
||||||
char *cwd;
|
Bchdir(g_modDir);
|
||||||
|
if (artLoadFiles("tiles000.art", MAXCACHE1DSIZE) < 0)
|
||||||
if (g_modDir[0] != '/' && (cwd = getcwd(NULL, 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);
|
Bchdir(cwd);
|
||||||
#ifndef __ANDROID__ //This crashes on *some* Android devices. Small onetime memory leak. TODO fix above function
|
if (artLoadFiles("tiles000.art", MAXCACHE1DSIZE) < 0)
|
||||||
Bfree(cwd);
|
G_GameExit("Failed loading art.");
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (artLoadFiles("tiles000.art",MAXCACHE1DSIZE) < 0)
|
Bchdir(cwd);
|
||||||
G_GameExit("Failed loading art.");
|
#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
|
// Make the fullscreen nuke logo background non-fullbright. Has to be
|
||||||
// after dynamic tile remapping (from C_Compile) and loading tiles.
|
// after dynamic tile remapping (from C_Compile) and loading tiles.
|
||||||
|
|
Loading…
Reference in a new issue