mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
0c6de5da3a
commit
257e271162
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue