I'm high
This commit is contained in:
parent
9e46d2da47
commit
a47ccb2a2a
|
@ -138,7 +138,7 @@ void CTaskMngr::CTask::executeIfRequired(float fCurrentTime, float fTimeLimit, f
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clear();
|
clear(); // hamster
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -239,8 +239,5 @@ void CTaskMngr::startFrame()
|
||||||
|
|
||||||
void CTaskMngr::clear()
|
void CTaskMngr::clear()
|
||||||
{
|
{
|
||||||
for (TaskListIter iter = m_Tasks.begin(); iter; ++iter)
|
|
||||||
delete &(*iter); // hamster
|
|
||||||
|
|
||||||
m_Tasks.clear();
|
m_Tasks.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user