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