diff options
author | smatz <smatz@openttd.org> | 2008-04-04 15:48:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-04 15:48:15 +0000 |
commit | 0aeefe164dabdf83de6f289175d214db10f0c525 (patch) | |
tree | 2841c3488169bf58a4791c8933a836858d1e6b3f /src/town_cmd.cpp | |
parent | 99b2536351f5dcdfaee9022a3460e20b11d84594 (diff) | |
download | openttd-0aeefe164dabdf83de6f289175d214db10f0c525.tar.xz |
(svn r12562) -Cleanup: variable scope in terraform_cmd.cpp
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 5837b7896..f4c304a64 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2255,7 +2255,7 @@ static void UpdateTownGrowRate(Town *t) int n = 0; - Station *st; + const Station *st; FOR_ALL_STATIONS(st) { if (DistanceSquare(st->xy, t->xy) <= t->radius[0]) { if (st->time_since_load <= 20 || st->time_since_unload <= 20) { |