diff options
author | frosch <frosch@openttd.org> | 2013-10-28 11:09:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-28 11:09:02 +0000 |
commit | a249db1374c0eca31f93f9ced91168cc7de4bc6a (patch) | |
tree | a3f9b1bf2db0b5578b3878863aa97299a66f064f /src/script/api/script_town.cpp | |
parent | 28f60095092081967535aa69e3fb8c8dfe7d132b (diff) | |
download | openttd-a249db1374c0eca31f93f9ced91168cc7de4bc6a.tar.xz |
(svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate.
Diffstat (limited to 'src/script/api/script_town.cpp')
-rw-r--r-- | src/script/api/script_town.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_town.cpp b/src/script/api/script_town.cpp index 3b9a4b7b6..c098039fd 100644 --- a/src/script/api/script_town.cpp +++ b/src/script/api/script_town.cpp @@ -166,7 +166,7 @@ /* static */ int32 ScriptTown::GetGrowthRate(TownID town_id) { - if (!IsValidTown(town_id)) return false; + if (!IsValidTown(town_id)) return -1; const Town *t = ::Town::Get(town_id); |