@@ -1265,15 +1265,6 @@ void populatePlayerInfo( Player *player, Int pos)
12651265 win->winSetEnabledTextColors (color, win->winGetEnabledTextBorderColor ());
12661266 win->winHide (FALSE );
12671267
1268- // set the total BuildingsDestroyed
1269- winName.format (" ScoreScreen.wnd:StaticTextBuildingsDestroyed%d" , pos);
1270- win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
1271- DEBUG_ASSERTCRASH (win,(" Could not find window %s on the score screen" , winName.str ()));
1272- winValue.format (L" %d" , scoreKpr->getTotalBuildingsDestroyed ());
1273- GadgetStaticTextSetText (win, winValue);
1274- win->winSetEnabledTextColors (color, win->winGetEnabledTextBorderColor ());
1275- win->winHide (FALSE );
1276-
12771268 // set the total Resources
12781269 winName.format (" ScoreScreen.wnd:StaticTextResources%d" , pos);
12791270 win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
@@ -2035,12 +2026,6 @@ void hideWindows( Int pos )
20352026 DEBUG_ASSERTCRASH (win,(" Could not find window %s on the score screen" , winName.str ()));
20362027 win->winHide (TRUE );
20372028
2038- // set the total BuildingsDestroyed
2039- winName.format (" ScoreScreen.wnd:StaticTextBuildingsDestroyed%d" , i);
2040- win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
2041- DEBUG_ASSERTCRASH (win,(" Could not find window %s on the score screen" , winName.str ()));
2042- win->winHide (TRUE );
2043-
20442029 // set the total Resources
20452030 winName.format (" ScoreScreen.wnd:StaticTextResources%d" , i);
20462031 win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
@@ -2133,12 +2118,6 @@ void setObserverWindows( Player *player, Int i )
21332118 DEBUG_ASSERTCRASH (win,(" Could not find window %s on the score screen" , winName.str ()));
21342119 win->winHide (TRUE );
21352120
2136- // set the total BuildingsDestroyed
2137- winName.format (" ScoreScreen.wnd:StaticTextBuildingsDestroyed%d" , i);
2138- win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
2139- DEBUG_ASSERTCRASH (win,(" Could not find window %s on the score screen" , winName.str ()));
2140- win->winHide (TRUE );
2141-
21422121 // set the total Resources
21432122 winName.format (" ScoreScreen.wnd:StaticTextResources%d" , i);
21442123 win = TheWindowManager->winGetWindowFromId ( parent, TheNameKeyGenerator->nameToKey ( winName ) );
0 commit comments