From b15e72c5fbf217de1aacd3fbf6769dc0cb83d208 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 8 Jun 2015 14:42:26 +0200 Subject: add a crappy hack to allow the game DLL/SO to be reloaded when running a server in the client-server binary --- 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 a22fd775..27902711 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1413,7 +1413,7 @@ int FS_FindVM(void **startSearch, char *found, int foundlen, const char *name, i while(search) { - if(search->dir && !fs_numServerPaks) + if(search->dir && (!fs_numServerPaks || !strcmp(name, "game"))) { dir = search->dir; -- cgit