From babb6e1a14b8e94d5cf0f47c542e9ceb47ca150f Mon Sep 17 00:00:00 2001 From: ludwig Date: Thu, 6 Jul 2006 09:25:17 +0000 Subject: looks like the interpreter was broken all the time. Didn't anyone notice? git-svn-id: svn://svn.icculus.org/quake3/trunk@814 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/vm_interpreted.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/qcommon/vm_interpreted.c b/code/qcommon/vm_interpreted.c index 12fcfae..8976b6e 100644 --- a/code/qcommon/vm_interpreted.c +++ b/code/qcommon/vm_interpreted.c @@ -852,7 +852,7 @@ nextInstruction2: opStack--; goto nextInstruction; case OP_BCOM: - opStack[-1] = ~ ((unsigned)r0); + *opStack = ~ ((unsigned)r0); goto nextInstruction; case OP_LSH: -- cgit v1.2.3