summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-06-09 13:13:47 +0000
committerzuu <zuu@openttd.org>2013-06-09 13:13:47 +0000
commit8980cb427dd4f385e050f1e9075b345d798ae25c (patch)
treec93bd138cc0696792f6830878d085ced932a5288 /src/toolbar_gui.cpp
parentf373d29d62500ba0d33a707c9b0e03f97465b554 (diff)
downloadopenttd-8980cb427dd4f385e050f1e9075b345d798ae25c.tar.xz
(svn r25369) -Add: allow opening a story window specific to a company
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index cab5593eb..d5e7d7f4e 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -656,7 +656,7 @@ static CallBackFunction MenuClickLeague(int index)
{
switch (index) {
case 0: ShowGoalsList(); break;
- case 1: ShowStoryBook(); break;
+ case 1: ShowStoryBook(_local_company); break;
case 2: ShowCompanyLeagueTable(); break;
case 3: ShowPerformanceRatingDetail(); break;
case 4: ShowHighscoreTable(); break;