aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm_interpreted.c
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-06 09:25:17 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-07-06 09:25:17 +0000
commitbabb6e1a14b8e94d5cf0f47c542e9ceb47ca150f (patch)
tree1ee8bea38feaf2ab6818ba7210558b25d551268a /code/qcommon/vm_interpreted.c
parent658781be5433d156c128f26bb31a59e75abd0c65 (diff)
downloadioquake3-aero-babb6e1a14b8e94d5cf0f47c542e9ceb47ca150f.tar.gz
ioquake3-aero-babb6e1a14b8e94d5cf0f47c542e9ceb47ca150f.zip
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
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: