diff options
author | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-13 13:43:55 +0000 |
commit | ee15e3de13643b2d09abcc5424bf8e2d916cff75 (patch) | |
tree | 385ce09aff7cf19e072a627e83e91fe8a5f3fb3b /economy.c | |
parent | 59e885c2bff5b1af6d7f5473106e9aa1f562abfd (diff) | |
download | openttd-ee15e3de13643b2d09abcc5424bf8e2d916cff75.tar.xz |
(svn r3172) static, const
Diffstat (limited to 'economy.c')
-rw-r--r-- | economy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -825,7 +825,7 @@ void StartupEconomy(void) _economy.fluct = GB(Random(), 0, 8) + 168; } -Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode) +Pair SetupSubsidyDecodeParam(const Subsidy* s, bool mode) { TileIndex tile; TileIndex tile2; @@ -983,7 +983,7 @@ static void FindSubsidyCargoRoute(FoundRoute *fr) static bool CheckSubsidyDuplicate(Subsidy *s) { - Subsidy *ss; + const Subsidy* ss; for(ss=_subsidies; ss != endof(_subsidies); ss++) { if (s != ss && |