mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
CON: ifspawnedby and ifwasweapon are really the same command. Merge the code to execute them.
git-svn-id: https://svn.eduke32.com/eduke32@6360 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d703ac2c62
commit
1b1fd9e0eb
1 changed files with 1 additions and 5 deletions
|
@ -3437,6 +3437,7 @@ nullquote:
|
|||
continue;
|
||||
|
||||
case CON_IFWASWEAPON:
|
||||
case CON_IFSPAWNEDBY:
|
||||
insptr++;
|
||||
VM_CONDITIONAL(vm.pActor->picnum == *insptr);
|
||||
continue;
|
||||
|
@ -3644,11 +3645,6 @@ nullquote:
|
|||
insptr += 3;
|
||||
continue;
|
||||
|
||||
case CON_IFSPAWNEDBY:
|
||||
insptr++;
|
||||
VM_CONDITIONAL(vm.pActor->picnum == *insptr);
|
||||
continue;
|
||||
|
||||
case CON_WACKPLAYER:
|
||||
insptr++;
|
||||
P_ForceAngle(pPlayer);
|
||||
|
|
Loading…
Reference in a new issue