Fixed server crash when trying to start a game. Server is still broken, though...
This commit is contained in:
1 parent
ef04130999
commit
59358bff0e
5 files changed
+343
-250
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user