diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/files.c | 2 | ||||
-rw-r--r-- | src/qcommon/vm.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 66cef9a3..e2ca20d0 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1370,7 +1370,7 @@ vmInterpret_t FS_FindVM(void **startSearch, char *found, int foundlen, const cha while(search) { - if(search->dir) + if(search->dir && !fs_numServerPaks) { dir = search->dir; diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c index c53d8067..ce131c2b 100644 --- a/src/qcommon/vm.c +++ b/src/qcommon/vm.c @@ -623,7 +623,8 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *), interpret = VMI_BYTECODE; } #else - if ( interpret >= VMI_COMPILED ) { + if(interpret != VMI_BYTECODE) + { vm->compiled = qtrue; VM_Compile( vm, header ); } |