mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
Fixed bug at15006 reported by EKS
This commit is contained in:
parent
5d90ccf088
commit
36d19dfe04
@ -131,7 +131,7 @@ void CTaskMngr::CTask::executeIfRequired(float fCurrentTime, float fTimeLimit, f
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// set new exec time OR remove the task if needed
|
// set new exec time OR remove the task if needed
|
||||||
if (m_bLoop || (--m_iRepeat > 0))
|
if (m_bLoop || (m_iRepeat-- > 0))
|
||||||
{
|
{
|
||||||
m_fNextExecTime += m_fBase;
|
m_fNextExecTime += m_fBase;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user