C-CON: Really fix get/setprojectile.

git-svn-id: https://svn.eduke32.com/eduke32@5105 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2015-03-28 09:48:37 +00:00
parent 0c6de5da3a
commit 257e271162
1 changed files with 4 additions and 7 deletions

View File

@ -4316,25 +4316,22 @@ finish_qsprintf:
case CON_GETPROJECTILE:
insptr++;
{
tw = *insptr++;
tw = Gv_GetVarX(*insptr++);
int const lLabelID = *insptr++, lVar2 = *insptr++;
register int32_t const iTile = Gv_GetVarX(tw);
Gv_SetVarX(lVar2, VM_GetProjectile(iTile, lLabelID));
Gv_SetVarX(lVar2, VM_GetProjectile(tw, lLabelID));
continue;
}
case CON_SETPROJECTILE:
insptr++;
{
tw = *insptr++;
tw=Gv_GetVarX(*insptr++);
int const lLabelID = *insptr++, lVar2 = *insptr++;
register int32_t const iTile = Gv_GetVarX(tw);
register int32_t const iSet = Gv_GetVarX(lVar2);
VM_SetProjectile(iTile, lLabelID, iSet);
VM_SetProjectile(tw, lLabelID, iSet);
continue;
}