mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
This commit is contained in:
@@ -797,6 +797,7 @@ void MenuStateConnectedGame::update() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(enableFactionTexturePreview == true) {
|
||||||
if( clientInterface != NULL && clientInterface->isConnected() &&
|
if( clientInterface != NULL && clientInterface->isConnected() &&
|
||||||
gameSettings != NULL) {
|
gameSettings != NULL) {
|
||||||
|
|
||||||
@@ -810,6 +811,7 @@ void MenuStateConnectedGame::update() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//update lobby
|
//update lobby
|
||||||
clientInterface= NetworkManager::getInstance().getClientInterface();
|
clientInterface= NetworkManager::getInstance().getClientInterface();
|
||||||
|
@@ -1304,6 +1304,7 @@ void MenuStateCustomGame::update() {
|
|||||||
}
|
}
|
||||||
soundConnectionCount = currentConnectionCount;
|
soundConnectionCount = currentConnectionCount;
|
||||||
|
|
||||||
|
if(enableFactionTexturePreview == true) {
|
||||||
string factionLogo = Game::findFactionLogoFile(&gameSettings, NULL,"preview_screen.*");
|
string factionLogo = Game::findFactionLogoFile(&gameSettings, NULL,"preview_screen.*");
|
||||||
if(factionLogo == "") {
|
if(factionLogo == "") {
|
||||||
factionLogo = Game::findFactionLogoFile(&gameSettings, NULL);
|
factionLogo = Game::findFactionLogoFile(&gameSettings, NULL);
|
||||||
@@ -1312,6 +1313,7 @@ void MenuStateCustomGame::update() {
|
|||||||
currentFactionLogo = factionLogo;
|
currentFactionLogo = factionLogo;
|
||||||
loadFactionTexture(currentFactionLogo);
|
loadFactionTexture(currentFactionLogo);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user