summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2015-01-01 21:25:42 +0000
committerrubidium <rubidium@openttd.org>2015-01-01 21:25:42 +0000
commit30f778e933881837b33f891d9e8b0b109b5b2561 (patch)
treedd73de7d99cba5924b6b1b1971113d89c466ae78 /src/town.h
parent14f197c6ff58e29b66481f1e19921464017c175f (diff)
downloadopenttd-30f778e933881837b33f891d9e8b0b109b5b2561.tar.xz
(svn r27105) -Fix [FS#6195]: grow_counter was not properly bounded by growth_rate, but by some other value used to calculate growth_rate.
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h
index 42495971e..010c7c216 100644
--- a/src/town.h
+++ b/src/town.h
@@ -91,7 +91,7 @@ struct Town : TownPool::PoolItem<&_town_pool> {
uint16 time_until_rebuild; ///< time until we rebuild a house
- uint16 grow_counter; ///< counter to count when to grow
+ uint16 grow_counter; ///< counter to count when to grow, value is smaller than or equal to growth_rate
uint16 growth_rate; ///< town growth rate
byte fund_buildings_months; ///< fund buildings program in action?