aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm.c
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-30 15:38:05 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-30 15:38:05 +0000
commit3ac08ec908041c45cd697ac67b6b6eaafd2a3e33 (patch)
tree6b1696ee714d54d0f04abab1cc1a314150ca5244 /code/qcommon/vm.c
parent7e071fe0719e42fee4507fd063059e203825c723 (diff)
downloadioquake3-aero-3ac08ec908041c45cd697ac67b6b6eaafd2a3e33.tar.gz
ioquake3-aero-3ac08ec908041c45cd697ac67b6b6eaafd2a3e33.zip
always try native dll first
git-svn-id: svn://svn.icculus.org/quake3/trunk@32 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/vm.c')
-rw-r--r--code/qcommon/vm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c
index a7f86ab..8cd3062 100644
--- a/code/qcommon/vm.c
+++ b/code/qcommon/vm.c
@@ -484,7 +484,8 @@ vm_t *VM_Create( const char *module, int (*systemCalls)(int *),
}
}
- if ( interpret == VMI_NATIVE ) {
+ // always try dll first? -- ln
+ if ( 1 || interpret == VMI_NATIVE ) {
// try to load as a system dll
Com_Printf( "Loading dll file %s.\n", vm->name );
vm->dllHandle = Sys_LoadDll( module, vm->fqpath , &vm->entryPoint, VM_DllSyscall );