Fixed server crash when trying to start a game. Server is still broken, though...

This commit is contained in:
lotodore
2009-05-31 13:17:02 +00:00
parent ef04130999
commit 59358bff0e
5 changed files with 343 additions and 250 deletions
+4 -1
View File
@@ -106,6 +106,9 @@ TimerManager::Process()
unsigned
TimerManager::GetNextTimerId()
{
return ++m_curTimerId;
++m_curTimerId;
if (m_curTimerId == 0) // Id 0 is invalid.
++m_curTimerId;
return m_curTimerId;
}