mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Move cacheAllSounds() out of G_CacheMapData() and into G_Startup()
git-svn-id: https://svn.eduke32.com/eduke32@7758 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
38fe40abf2
commit
130649b017
2 changed files with 2 additions and 1 deletions
|
@ -6013,6 +6013,8 @@ static void G_Startup(void)
|
|||
else if (artLoadFiles("tiles%03d.art",MAXCACHE1DSIZE) < 0)
|
||||
G_GameExit("Failed loading art.");
|
||||
|
||||
cacheAllSounds();
|
||||
|
||||
// Make the fullscreen nuke logo background non-fullbright. Has to be
|
||||
// after dynamic tile remapping (from C_Compile) and loading tiles.
|
||||
picanm[LOADSCREEN].sf |= PICANM_NOFULLBRIGHT_BIT;
|
||||
|
|
|
@ -469,7 +469,6 @@ void G_CacheMapData(void)
|
|||
|
||||
uint32_t const cacheStartTime = timerGetTicks();
|
||||
|
||||
cacheAllSounds();
|
||||
cacheFlaggedTiles();
|
||||
|
||||
for (int i=0; i<numwalls; i++)
|
||||
|
|
Loading…
Reference in a new issue