mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 20:22:31 +01:00
no longer show resource info in debug stats in game
This commit is contained in:
parent
c045f06f44
commit
33549e2b0b
@ -2863,10 +2863,15 @@ void Game::render2d(){
|
||||
}
|
||||
|
||||
factionInfo += " [" + formatString(this->gameSettings.getFactionTypeName(i)) +
|
||||
" team: " + intToStr(this->gameSettings.getTeam(i)) + "] res: ";
|
||||
for(int j = 0; j < world.getTechTree()->getResourceTypeCount(); ++j) {
|
||||
factionInfo += intToStr(world.getFaction(i)->getResource(j)->getAmount());
|
||||
factionInfo += " ";
|
||||
" team: " + intToStr(this->gameSettings.getTeam(i)) + "]";
|
||||
|
||||
bool showResourceDebugInfo = false;
|
||||
if(showResourceDebugInfo == true) {
|
||||
factionInfo +=" res: ";
|
||||
for(int j = 0; j < world.getTechTree()->getResourceTypeCount(); ++j) {
|
||||
factionInfo += intToStr(world.getFaction(i)->getResource(j)->getAmount());
|
||||
factionInfo += " ";
|
||||
}
|
||||
}
|
||||
|
||||
factionDebugInfo[i] = factionInfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user