mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
- deleted old condPush variant.
This commit is contained in:
parent
be0e2a9b93
commit
c34c9deb4e
1 changed files with 1 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue