halflife-unified-sdk
halflife-unified-sdk copied to clipboard
Pass original caller when delay triggering entities
Pass the original caller when delay triggering entities. CBaseDelay::SUB_UseTargets
always passes this
as the caller, even if this
is a temporary entity created to delay the triggering of other entities.
This results in an inconsistency when using delay triggering compared to immediately triggering.
Note that this can break existing entity setups. This change should be extensively tested to find and fix problems in existing maps.