Changeset - r20880:942200da0607
[Not reviewed]
master
0 2 0
frosch - 11 years ago 2013-10-28 11:09:02
frosch@openttd.org
(svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_town.cpp
Show inline comments
 
@@ -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);
 

	
src/script/api/script_town.hpp
Show inline comments
 
@@ -262,7 +262,7 @@ public:
 
	 * Get the amount of days between town growth.
 
	 * @param town_id The index of the town.
 
	 * @pre IsValidTown(town_id).
 
	 * @return True if the action succeeded.
 
	 * @return Amount of days between town growth.
 
	 * @note This function does not indicate when it will grow next. It only tells you the time between growths.
 
	 */
 
	static int32 GetGrowthRate(TownID town_id);
0 comments (0 inline, 0 general)