diff options
author | /dev/humancontroller <devhc@example.com> | 2017-08-14 14:06:48 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-08-14 14:09:30 +0200 |
commit | 3d980bbbc25f21f5d7d8d128f7b2044a9400280b (patch) | |
tree | f09714ca78b061b90af3a85d1aaf0c92d6ccd0a7 /src/qcommon | |
parent | 57a3338110978b37baab6f7c45935a1dff5db603 (diff) |
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
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |