1
0

Fixed and exported cWorld:QueueTask().

This implements #220.
This commit is contained in:
madmaxoft
2013-10-12 22:24:59 +02:00
parent 82834ee1ed
commit 0352e45898
4 changed files with 105 additions and 3 deletions

View File

@@ -848,7 +848,7 @@ void cWorld::TickQueuedTasks(void)
}
// Execute and delete each task:
for (cTasks::iterator itr = m_Tasks.begin(), end = m_Tasks.end(); itr != end; ++itr)
for (cTasks::iterator itr = Tasks.begin(), end = Tasks.end(); itr != end; ++itr)
{
(*itr)->Run(*this);
delete *itr;