Changeset - r11497:af5692eaa268
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-03-26 22:13:00
smatz@openttd.org
(svn r15863) -Fix (r15791): company money and game date strings were swapped on the statusbar
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/statusbar_gui.cpp
Show inline comments
 
@@ -97,12 +97,12 @@ struct StatusBarWindow : Window {
 

	
 
		this->DrawWidgets();
 
		SetDParam(0, _date);
 
		DrawString(this->widget[SBW_RIGHT].left + 1, this->widget[SBW_RIGHT].right - 1, 1, (_pause_game || _settings_client.gui.status_long_date) ? STR_00AF : STR_00AE, TC_FROMSTRING, SA_CENTER);
 
		DrawString(this->widget[SBW_LEFT].left + 1, this->widget[SBW_LEFT].right - 1, 1, (_pause_game || _settings_client.gui.status_long_date) ? STR_00AF : STR_00AE, TC_FROMSTRING, SA_CENTER);
 

	
 
		if (c != NULL) {
 
			/* Draw company money */
 
			SetDParam(0, c->money);
 
			DrawString(this->widget[SBW_LEFT].left + 1, this->widget[SBW_LEFT].right - 1, 1, STR_0004, TC_FROMSTRING, SA_CENTER);
 
			DrawString(this->widget[SBW_RIGHT].left + 1, this->widget[SBW_RIGHT].right - 1, 1, STR_0004, TC_FROMSTRING, SA_CENTER);
 
		}
 

	
 
		/* Draw status bar */
0 comments (0 inline, 0 general)