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:
|
||||
insptr++;
|
||||
Gv_SetVarX(*insptr, sintable[Gv_GetVarX(*(insptr+1))&2047]);
|
||||
insptr += 2;
|
||||
tw = *insptr++;
|
||||
Gv_SetVarX(tw, sintable[Gv_GetVarX(*insptr++)&2047]);
|
||||
continue;
|
||||
|
||||
case CON_COS:
|
||||
insptr++;
|
||||
Gv_SetVarX(*insptr, sintable[(Gv_GetVarX(*(insptr+1))+512)&2047]);
|
||||
insptr += 2;
|
||||
tw = *insptr++;
|
||||
Gv_SetVarX(tw, sintable[(Gv_GetVarX(*insptr++)+512)&2047]);
|
||||
continue;
|
||||
|
||||
case CON_ADDVARVAR:
|
||||
|
|
Loading…
Reference in a new issue