mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Fix issue with sin/cos CON commands that prevented using the special builtin structure shortcut access vars for input.
git-svn-id: https://svn.eduke32.com/eduke32@5490 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
97c4b40ca2
commit
f64a397b34
1 changed files with 4 additions and 4 deletions
|
@ -4980,14 +4980,14 @@ finish_qsprintf:
|
||||||
|
|
||||||
case CON_SIN:
|
case CON_SIN:
|
||||||
insptr++;
|
insptr++;
|
||||||
Gv_SetVarX(*insptr, sintable[Gv_GetVarX(*(insptr+1))&2047]);
|
tw = *insptr++;
|
||||||
insptr += 2;
|
Gv_SetVarX(tw, sintable[Gv_GetVarX(*insptr++)&2047]);
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_COS:
|
case CON_COS:
|
||||||
insptr++;
|
insptr++;
|
||||||
Gv_SetVarX(*insptr, sintable[(Gv_GetVarX(*(insptr+1))+512)&2047]);
|
tw = *insptr++;
|
||||||
insptr += 2;
|
Gv_SetVarX(tw, sintable[(Gv_GetVarX(*insptr++)+512)&2047]);
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_ADDVARVAR:
|
case CON_ADDVARVAR:
|
||||||
|
|
Loading…
Reference in a new issue