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:
terminx 2015-12-23 04:06:24 +00:00
parent 97c4b40ca2
commit f64a397b34

View file

@ -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: