diff options
author | zuu <zuu@openttd.org> | 2013-06-09 13:23:03 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2013-06-09 13:23:03 +0000 |
commit | eaede14b8f2de17bb5eb32959b876c3c956590c4 (patch) | |
tree | 8b8e5e34a4ca072c50992bacc3f24f008eb625c3 /src/toolbar_gui.cpp | |
parent | bfc8980c093130244a03169da0262961fea60f7e (diff) | |
download | openttd-eaede14b8f2de17bb5eb32959b876c3c956590c4.tar.xz |
(svn r25372) -Add: Allow opening a goal list window specific to a company
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index d5e7d7f4e..e506bfc3e 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -655,7 +655,7 @@ static CallBackFunction ToolbarLeagueClick(Window *w) static CallBackFunction MenuClickLeague(int index) { switch (index) { - case 0: ShowGoalsList(); break; + case 0: ShowGoalsList(_local_company); break; case 1: ShowStoryBook(_local_company); break; case 2: ShowCompanyLeagueTable(); break; case 3: ShowPerformanceRatingDetail(); break; |