diff options
author | Pavel Stupnikov <dp@dpointer.org> | 2018-05-02 22:01:30 +0300 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-05-02 21:01:30 +0200 |
commit | fef8b831a93a0fc772fc8a0b7799ec51cd86a967 (patch) | |
tree | 327b1463e2d0828bb5d5036370517c3abdc77709 /src/script/api/script_town.hpp | |
parent | 61515c9abd6fb31e24c5fd610a9f6b3a899c7171 (diff) | |
download | openttd-fef8b831a93a0fc772fc8a0b7799ec51cd86a967.tar.xz |
Change: Switch town growth rate and counter to actual game ticks (#6763)
Diffstat (limited to 'src/script/api/script_town.hpp')
-rw-r--r-- | src/script/api/script_town.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_town.hpp b/src/script/api/script_town.hpp index 03868e67a..7fdf8a6b3 100644 --- a/src/script/api/script_town.hpp +++ b/src/script/api/script_town.hpp @@ -259,7 +259,7 @@ public: * @param town_id The index of the town. * @param days_between_town_growth The amount of days between town growth, TOWN_GROWTH_NONE or TOWN_GROWTH_NORMAL. * @pre IsValidTown(town_id). - * @pre days_between_town_growth <= 30000 || days_between_town_growth == TOWN_GROWTH_NONE || days_between_town_growth == TOWN_GROWTH_NORMAL. + * @pre days_between_town_growth <= 880 || days_between_town_growth == TOWN_GROWTH_NONE || days_between_town_growth == TOWN_GROWTH_NORMAL. * @return True if the action succeeded. * @note Even when setting a growth rate, towns only grow when the conditions for growth (SetCargoCoal) are met, * and the game settings (economy.town_growth_rate) allow town growth at all. |