Changeset - r27508:2a6ad2f68177
[Not reviewed]
master
0 1 0
Bernard Teo - 15 months ago 2023-06-04 17:45:18
btzy1996@hotmail.com
Doc: Fix spelling error in ScriptTileList::RemoveRectangle (#10937)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_tilelist.hpp
Show inline comments
 
@@ -28,25 +28,25 @@ public:
 
	 * @pre ScriptMap::IsValidTile(tile_to).
 
	 */
 
	void AddRectangle(TileIndex tile_from, TileIndex tile_to);
 

	
 
	/**
 
	 * Add a tile to the to-be-evaluated tiles.
 
	 * @param tile The tile to add.
 
	 * @pre ScriptMap::IsValidTile(tile).
 
	 */
 
	void AddTile(TileIndex tile);
 

	
 
	/**
 
	 * Remove the tiles inside the rectangle between tile_from and tile_to form the list.
 
	 * Remove the tiles inside the rectangle between tile_from and tile_to from the list.
 
	 * @param tile_from One corner of the tiles to remove.
 
	 * @param tile_to The other corner of the files to remove.
 
	 * @pre ScriptMap::IsValidTile(tile_from).
 
	 * @pre ScriptMap::IsValidTile(tile_to).
 
	 */
 
	void RemoveRectangle(TileIndex tile_from, TileIndex tile_to);
 

	
 
	/**
 
	 * Remove a tile from the list.
 
	 * @param tile The tile to remove.
 
	 * @pre ScriptMap::IsValidTile(tile).
 
	 */
0 comments (0 inline, 0 general)