From: Wolfgang (Blub) Bumiller Date: Mon, 12 Nov 2012 23:36:00 +0000 (+0100) Subject: Fix a very stupid bug in the executor which prevented ADDRESS to have the same global... X-Git-Tag: 0.1~19^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6044079528d89c4559fad2346b04e539b67ba1aa;p=xonotic%2Fgmqcc.git Fix a very stupid bug in the executor which prevented ADDRESS to have the same global as output as one of its inputs --- diff --git a/exec.c b/exec.c index 724ff78..71b8eba 100644 --- a/exec.c +++ b/exec.c @@ -1215,8 +1215,7 @@ while (1) { } ed = prog_getedict(prog, OPA->edict); - OPC->_int = ((qcint*)ed) - prog->entitydata; - OPC->_int += OPB->_int; + OPC->_int = ((qcint*)ed) - prog->entitydata + OPB->_int; break; case INSTR_STORE_F: