dedicated server does not need to call texture precaching

prob leftover from back in the day, it doesent do anything at all anyways
also gives it a less ambigous name
This commit is contained in:
Alug committed 2025-02-15 02:15:04 +01:00
1 parent d947f5b4c1
commit 2305a3210e
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -2950,7 +2950,7 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
}
if (demo.playback && !demo.timing)
precache = false;
precachetextures = false;
if (resetplayer)
{
@@ -2968,7 +2968,7 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
demo.savebutton = 0;
G_InitNew(pencoremode, mapname, resetplayer, skipprecutscene);
if (demo.playback && !demo.timing)
precache = true;
precachetextures = true;
if (demo.timing)
G_DoneLevelLoad();
+1 -1
View File
@@ -571,7 +571,7 @@ extern INT32 debugload;
#endif
// if true, load all graphics at level load
extern boolean precache;
extern boolean precachetextures;
// wipegamestate can be set to -1
// to force a wipe on the next draw
+1 -1
View File
@@ -326,7 +326,7 @@ static struct {
// There is no conflict here.
demoghost *ghosts = NULL;
boolean precache = true; // if true, load all graphics at start
boolean precachetextures = true; // if true, load all graphics at start
INT16 prevmap, nextmap;
+1 -1
View File
@@ -3122,7 +3122,7 @@ boolean P_SetupLevel(boolean fromnetsave, boolean reloadinggamestate)
if (rendermode != render_none && !reloadinggamestate)
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, levelfadecol);
if (precache || dedicated)
if (precachetextures)
R_PrecacheLevel();
nextmapoverride = 0;