Fixed server crash when trying to start a game. Server is still broken, though...
This commit is contained in:
@@ -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