Changeset - r57:ab3a2abe69d1
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-08-15 16:19:54
darkvater@openttd.org
(svn r58) -Fix stupid bug in company league window if non-player is first
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
graph_gui.c
Show inline comments
 
@@ -830,7 +830,7 @@ static void CompanyLeagueWndProc(Window 
 
					that because there is another param after it. 
 
					So we'll just shift the rating one back if player is AI and all is fine
 
				*/
 
			SET_DPARAM16((IS_HUMAN_PLAYER(i) ? 5 : 4), GetPerformanceTitleFromValue(p->old_economy[1].performance_history));
 
			SET_DPARAM16((IS_HUMAN_PLAYER(p->index) ? 5 : 4), GetPerformanceTitleFromValue(p->old_economy[1].performance_history));
 

	
 
			DrawString(2, 15 + i * 10, i == 0 ? STR_7054 : STR_7055, 0);
 
			DrawPlayerIcon(p->index, 27, 16 + i * 10);
0 comments (0 inline, 0 general)