Bugfix: fix crash with no active game paths...

Shouldn't really happen anyway.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1110 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-06-21 14:41:37 +00:00
parent 336482b07b
commit c920170d2a
1 changed files with 1 additions and 1 deletions

View File

@ -3384,7 +3384,7 @@ pack_t *COM_LoadPackFile (char *packfile)
void COM_FlushTempoaryPacks(void)
{
searchpath_t *next;
while (*com_searchpaths->filename == '*')
while (com_searchpaths && *com_searchpaths->filename == '*')
{
switch (com_searchpaths->type)
{