From 6327f1ce47e1e963019a8c5cc828a1044268bb2d Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 6 Jul 2006 09:25:17 +0000 Subject: [PATCH] looks like the interpreter was broken all the time. Didn't anyone notice? --- code/qcommon/vm_interpreted.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_interpreted.c b/code/qcommon/vm_interpreted.c index 12fcfae9..8976b6eb 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: