From c34c9deb4ef88ea75bbc3defd0391322b1fcd6b9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 14 Oct 2021 01:42:08 +0200 Subject: [PATCH] - deleted old condPush variant. --- source/games/blood/src/nnexts.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/games/blood/src/nnexts.cpp b/source/games/blood/src/nnexts.cpp index e3bcbb1a8..5f6ea0241 100644 --- a/source/games/blood/src/nnexts.cpp +++ b/source/games/blood/src/nnexts.cpp @@ -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: