summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-07 10:26:12 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-07 10:26:12 +0000
commit419af5cecebec58262323c3a870bdaac61da2e66 (patch)
tree41092e6384d7ca2d43fd19eb44c85504508903a0 /landscape.c
parentaf427810428e65e9493499931f270c9a1bb3bc74 (diff)
downloadopenttd-419af5cecebec58262323c3a870bdaac61da2e66.tar.xz
(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/landscape.c b/landscape.c
index aca702b7a..46c1e13c1 100644
--- a/landscape.c
+++ b/landscape.c
@@ -273,11 +273,11 @@ void GetTileDesc(TileIndex tile, TileDesc *td)
_tile_type_procs[GetTileType(tile)]->get_tile_desc_proc(tile, td);
}
-/* Clear a piece of landscape
- * p1 = 0,
- * p2 = 0
+/** Clear a piece of landscape
+ * @param x,y coordinates of clearance
+ * @param p1 unused
+ * @param p2 unused
*/
-
int32 CmdLandscapeClear(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
TileIndex tile = TILE_FROM_XY(x, y);