From 3d980bbbc25f21f5d7d8d128f7b2044a9400280b Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 14 Aug 2017 14:06:48 +0200 Subject: always allow game VMs to be found outside pk3 files TODO: recall exactly why this change exist, it may have something to do with fs_numServerPaks being aliased in client+server executables --- src/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon') diff --git a/src/qcommon/files.c b/src/qcommon/files.c index e172f528..b5a6efc8 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1416,7 +1416,7 @@ int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, i while(search) { - if(search->dir && (!fs_numServerPaks || !strcmp(name, "game"))) + if(search->dir && (!fs_numServerPaks || !strcmp(name, "game") || (search == &fs_searchpath_overpath_game || search == &fs_searchpath_overpath_basegame))) { dir = search->dir; -- cgit