1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-28 14:44:28 +01:00

Codefix: Clean up object area placement (#15062)

This commit is contained in:
Tyler Trahan
2026-01-08 15:51:03 -05:00
committed by GitHub
parent 09a8b1cf5c
commit b41e23270d
4 changed files with 4 additions and 10 deletions

View File

@@ -391,7 +391,7 @@ CommandCost CmdBuildObject(DoCommandFlags flags, TileIndex tile, ObjectType type
* @param start_tile start tile of area dragging
* @param type the object type to build
* @param view the view for the object
* @param diagonal Whether to use the Orthogonal (0) or Diagonal (1) iterator.
* @param diagonal Whether to use the Diagonal or Orthogonal tile iterator.
* @return the cost of this operation or an error
*/
CommandCost CmdBuildObjectArea(DoCommandFlags flags, TileIndex tile, TileIndex start_tile, ObjectType type, uint8_t view, bool diagonal)