Core now detects and handles a changed maxplayers value (bug 2537 and bug 2758)

This commit is contained in:
Matt Woodrow
2008-09-26 19:08:49 +12:00
parent 4517031861
commit f4dba84ae5
8 changed files with 162 additions and 8 deletions
+10
View File
@@ -117,3 +117,13 @@ void TopMenuManager::DestroyTopMenu(ITopMenu *topmenu)
delete pMenu;
}
void TopMenuManager::OnMaxPlayersChanged( int newvalue )
{
List<TopMenu *>::iterator iter;
for (iter = m_TopMenus.begin(); iter != m_TopMenus.end(); iter++)
{
(*iter)->OnMaxPlayersChanged(newvalue);
}
}