summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-06-08 14:42:26 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:06 +0100
commitb15e72c5fbf217de1aacd3fbf6769dc0cb83d208 (patch)
tree5954ac882f7fe3668644fe2dff994956049b2b3d
parent3550986680ae18a6cd8c499f21e9da95cb0a2fb6 (diff)
add a crappy hack to allow the game DLL/SO to be reloaded when running a server in the client-server binary
-rw-r--r--src/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
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;