From c920170d2ab19a61b905afb9c49219e007afaa1d Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 21 Jun 2005 14:41:37 +0000 Subject: [PATCH] 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 --- engine/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/common.c b/engine/common/common.c index 5ab43ac05..ad0da5a5d 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -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) {