aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/vm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c
index 713e6ae..87f0795 100644
--- a/code/qcommon/vm.c
+++ b/code/qcommon/vm.c
@@ -716,8 +716,10 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
args[4], args[5], args[6], args[7],
args[8], args[9], args[10], args[11],
args[12], args[13], args[14], args[15]);
+#if defined(HAVE_VM_COMPILED)
} else if ( vm->compiled ) {
r = VM_CallCompiled( vm, &callnum );
+#endif
} else {
struct {
int callnum;