r814 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jul 6 05:25:17 EDT 2006


Author: ludwig
Date: 2006-07-06 05:25:17 -0400 (Thu, 06 Jul 2006)
New Revision: 814

Modified:
   trunk/code/qcommon/vm_interpreted.c
Log:
looks like the interpreter was broken all the time. Didn't anyone
notice?


Modified: trunk/code/qcommon/vm_interpreted.c
===================================================================
--- trunk/code/qcommon/vm_interpreted.c	2006-07-06 00:37:56 UTC (rev 813)
+++ trunk/code/qcommon/vm_interpreted.c	2006-07-06 09:25:17 UTC (rev 814)
@@ -852,7 +852,7 @@
 			opStack--;
 			goto nextInstruction;
 		case OP_BCOM:
-			opStack[-1] = ~ ((unsigned)r0);
+			*opStack = ~ ((unsigned)r0);
 			goto nextInstruction;
 
 		case OP_LSH:




More information about the quake3-commits mailing list