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

This commit is contained in:
lotodore committed 2009-05-31 13:17:02 +00:00
1 parent ef04130999
commit 59358bff0e
5 files changed
+343 -250

No files matched your search

+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;
}