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:
hendricks266 2017-07-15 21:56:12 +00:00
parent d703ac2c62
commit 1b1fd9e0eb

View file

@ -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);