aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm_interpreted.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon/vm_interpreted.c')
-rw-r--r--code/qcommon/vm_interpreted.c2
1 files changed, 1 insertions, 1 deletions
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: