mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
- Don't try to load QVM/DLL files on pure servers
- Fallback after failed DLL load will be VMI_COMPILED, not INTERPRETED
This commit is contained in:
parent
9219cde4e8
commit
af5020c57c
2 changed files with 3 additions and 2 deletions
|
@ -1403,7 +1403,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;
|
||||
|
||||
|
|
|
@ -622,7 +622,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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue