summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-12-20 14:57:44 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-12-20 14:57:44 +0000
commitec492bfb7700b719e41553417cbe77c5d10549ae (patch)
tree3e32848d29e0a9326bb9ff373a2248fe7239ca68 /src/station_base.h
parent4818b72c759f3845a28b94d3f1fad9541d4e8304 (diff)
downloadopenttd-ec492bfb7700b719e41553417cbe77c5d10549ae.tar.xz
(svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors.
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index c0bb96cd9..a4ad69547 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -79,6 +79,8 @@ public:
void ReleaseShare(StationID st);
+ void ScaleToMonthly(uint runtime);
+
/**
* Get the actual shares as a const pointer so that they can be iterated
* over.