r150 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Oct 9 09:05:44 EDT 2005


Author: ludwig
Date: 2005-10-09 09:05:44 -0400 (Sun, 09 Oct 2005)
New Revision: 150

Modified:
   trunk/code/qcommon/vm.c
Log:
don't call VM_Compile if it's not supported so the VM_Compile symbol
isn't needed


Modified: trunk/code/qcommon/vm.c
===================================================================
--- trunk/code/qcommon/vm.c	2005-10-08 14:36:15 UTC (rev 149)
+++ trunk/code/qcommon/vm.c	2005-10-09 13:05:44 UTC (rev 150)
@@ -558,12 +558,13 @@
 		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 );
 	}




More information about the quake3-commits mailing list