This commit is contained in:
Pavol Marko 2005-07-25 20:45:02 +00:00
parent 9e46d2da47
commit a47ccb2a2a

View File

@ -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();
} }