Hopefully this will fix the lingering issues with pics getting screwed on game changes.

This commit is contained in:
Spike 2018-05-19 19:41:18 +01:00 committed by Shpoike
parent cd07aefb46
commit 7d24bf80e9

View file

@ -417,17 +417,17 @@ void Draw_NewGame (void)
Scrap_Upload (); //creates 2 empty gltextures
// empty lmp cache
for (pic = menu_cachepics, i = 0; i < menu_numcachepics; pic++, i++)
pic->name[0] = 0;
menu_numcachepics = 0;
// reload wad pics
W_LoadWadFile (); //johnfitz -- filename is now hard-coded for honesty
Draw_LoadPics ();
SCR_LoadPics ();
Sbar_LoadPics ();
PR_ReloadPics(false);
// empty lmp cache
for (pic = menu_cachepics, i = 0; i < menu_numcachepics; pic++, i++)
pic->name[0] = 0;
menu_numcachepics = 0;
}
/*