mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-06 18:08:27 +00:00
oops
This commit is contained in:
parent
0f286a13ef
commit
8da75d9189
@ -293,7 +293,7 @@ public void ServiceEvent(event_t event)
|
|||||||
int targetEntity = -1;
|
int targetEntity = -1;
|
||||||
|
|
||||||
if(!IsValidEntity(event.caller))
|
if(!IsValidEntity(event.caller))
|
||||||
event.caller = 0;
|
event.caller = -1;
|
||||||
|
|
||||||
// In the context of the event, the searching entity is also the caller
|
// In the context of the event, the searching entity is also the caller
|
||||||
while ((targetEntity = FindEntityByName(targetEntity, event.target, event.caller, event.activator, event.caller)) != -1)
|
while ((targetEntity = FindEntityByName(targetEntity, event.target, event.caller, event.activator, event.caller)) != -1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user