- deleted old condPush variant.

This commit is contained in:
Christoph Oelckers 2021-10-14 01:42:08 +02:00
parent be0e2a9b93
commit c34c9deb4e

View file

@ -3754,12 +3754,6 @@ void condUnserialize(DBloodActor* serialActor, int* objType, int* objIndex, DBlo
}
}
bool condPush(XSPRITE* pXSprite, int objType, int objIndex) {
auto actor = &bloodActors[pXSprite->reference];
condPush(actor, objType, objIndex, &bloodActors[objIndex]);
return true;
}
void condBackup(DBloodActor* actor)
{
// condition-target
@ -4436,7 +4430,7 @@ bool condCheckDude(DBloodActor* aCond, int cmpOp, bool PUSH)
{
auto var = aiPatrolMarkerBusy(objActor, targ);
if (!var) return false;
else if (PUSH) condPush(pXCond, OBJ_SPRITE, var->s().index);
else if (PUSH) condPush(aCond, OBJ_SPRITE, 0, var);
break;
}
case 11: