mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-07 10:28:25 +00:00
fix wait time bug.
This commit is contained in:
parent
52ede98c9f
commit
e4d8da8ad5
@ -216,9 +216,6 @@ public MRESReturn DHook_AddEventTwo(Handle hParams)
|
||||
|
||||
public MRESReturn DHook_AddEventThree(Handle hParams)
|
||||
{
|
||||
if(DHookIsNullParam(hParams, 5))
|
||||
return MRES_Ignored;
|
||||
|
||||
event_t event;
|
||||
DHookGetParamString(hParams, 1, event.target, 64);
|
||||
DHookGetParamString(hParams, 2, event.targetInput, 64);
|
||||
@ -253,7 +250,7 @@ public MRESReturn DHook_AddEventThree(Handle hParams)
|
||||
}
|
||||
}
|
||||
|
||||
if(!bFound || ent.waitTime <= 0.0)
|
||||
if(!bFound)
|
||||
{
|
||||
g_aPlayerEvents[event.activator].PushArray(event);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user