mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-07 02:18:26 +00:00
don't ask.
This commit is contained in:
parent
690b55446e
commit
1a267e37a9
@ -220,7 +220,7 @@ public MRESReturn DHook_AddEventThree(Handle hParams)
|
||||
event.outputID = DHookGetParam(hParams, 7);
|
||||
|
||||
#if defined DEBUG
|
||||
PrintToChatAll("AddEventThree: %s, %s, %s, %f, %i, %i, %i", event.target, event.targetInput, event.variantValue, event.delay, event.activator, event.caller, event.outputID);
|
||||
PrintToChatAll("AddEventThree: %s, %s, %s, %f, %i, %i, %i, time: %f", event.target, event.targetInput, event.variantValue, event.delay, event.activator, event.caller, event.outputID, GetGameTime());
|
||||
#endif
|
||||
|
||||
if((event.activator < 65 && event.activator > 0))
|
||||
@ -321,7 +321,7 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3
|
||||
{
|
||||
event_t event;
|
||||
g_aPlayerEvents[client].GetArray(i, event);
|
||||
if(event.delay <= GetTickInterval() * timescale)
|
||||
if(event.delay < GetTickInterval() * timescale)
|
||||
{
|
||||
ServiceEvent(event);
|
||||
g_aPlayerEvents[client].Erase(i);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user