(svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID.
This commit is contained in:
@@ -96,13 +96,6 @@ public:
|
||||
ROAD_LAYOUT_INVALID = -1, ///< The layout for invalid towns.
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the maximum town index; there are no valid towns with a higher index.
|
||||
* @return The maximum town index.
|
||||
* @post Return value is always non-negative.
|
||||
*/
|
||||
static TownID GetMaxTownID();
|
||||
|
||||
/**
|
||||
* Gets the number of towns. This is different than GetMaxTownID()
|
||||
* because of the way OpenTTD works internally.
|
||||
|
Reference in New Issue
Block a user