From f62601ac53d2a91bdb4258349623bbf0dad12af3 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sun, 9 Oct 2005 13:05:44 +0000 Subject: [PATCH] don't call VM_Compile if it's not supported so the VM_Compile symbol isn't needed --- code/qcommon/vm.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c index d5bb3aac..080599de 100644 --- a/code/qcommon/vm.c +++ b/code/qcommon/vm.c @@ -558,12 +558,13 @@ vm_t *VM_Create( const char *module, long (*systemCalls)(long *), Com_Printf("Architecture doesn't have a bytecode compiler, using interpreter\n"); interpret = VMI_BYTECODE; } -#endif - +#else if ( interpret >= VMI_COMPILED ) { vm->compiled = qtrue; VM_Compile( vm, header ); - } else { + } else +#endif + { vm->compiled = qfalse; VM_PrepareInterpreter( vm, header ); }