- removed temporary workaround

This commit is contained in:
Christoph Oelckers 2021-11-11 00:27:08 +01:00
parent 40b22a90e9
commit ad95033c64

View file

@ -6265,7 +6265,6 @@ int useCondition(DBloodActor* sourceactor, const EVENT& event)
int objIndex = event.index_;
bool srcIsCondition = false;
if (objType == OBJ_SPRITE && event.actor == nullptr) return -1;
if (objType == OBJ_SPRITE) objIndex = event.actor->s().index; // need this below for calling nnExtTriggerObject
if (objType == OBJ_SPRITE && event.actor != sourceactor)
srcIsCondition = (event.actor->s().type == kModernCondition || event.actor->s().type == kModernConditionFalse);