When you change gamedirs, cachepics (such as your conback) will be reloaded

in GL..  Please test this extensively, I _think_ the tempfile loader is
smart enough to handle what I'm doing properly.  If it's not, we'll have
to fix a slight memory leak.
This commit is contained in:
Joseph Carter 2000-06-23 18:36:59 +00:00
parent 13ce6fc2b8
commit d182c83842
3 changed files with 42 additions and 17 deletions

View file

@ -542,6 +542,8 @@ void CL_StopUpload(void)
=====================================================================
*/
void Draw_ClearCache (void);
/*
==================
CL_ParseServerData
@ -578,6 +580,7 @@ void CL_ParseServerData (void)
// save current config
Host_WriteConfiguration ();
cflag = true;
Draw_ClearCache ();
}
COM_Gamedir(str);