mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
Fix a very stupid bug in the executor which prevented ADDRESS to have the same global as output as one of its inputs
This commit is contained in:
parent
b61ae53ecd
commit
6044079528
1 changed files with 1 additions and 2 deletions
3
exec.c
3
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:
|
||||
|
|
Loading…
Reference in a new issue