mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-10 09:41:09 +00:00
Hopefully this will fix the lingering issues with pics getting screwed on game changes.
This commit is contained in:
parent
cd07aefb46
commit
7d24bf80e9
1 changed files with 5 additions and 5 deletions
|
@ -417,17 +417,17 @@ void Draw_NewGame (void)
|
||||||
|
|
||||||
Scrap_Upload (); //creates 2 empty gltextures
|
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
|
// reload wad pics
|
||||||
W_LoadWadFile (); //johnfitz -- filename is now hard-coded for honesty
|
W_LoadWadFile (); //johnfitz -- filename is now hard-coded for honesty
|
||||||
Draw_LoadPics ();
|
Draw_LoadPics ();
|
||||||
SCR_LoadPics ();
|
SCR_LoadPics ();
|
||||||
Sbar_LoadPics ();
|
Sbar_LoadPics ();
|
||||||
PR_ReloadPics(false);
|
PR_ReloadPics(false);
|
||||||
|
|
||||||
// empty lmp cache
|
|
||||||
for (pic = menu_cachepics, i = 0; i < menu_numcachepics; pic++, i++)
|
|
||||||
pic->name[0] = 0;
|
|
||||||
menu_numcachepics = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue