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
commit3ad11e0ad45af46ffbc3cbe16156794d76f1cf4f (patch)
tree41092e6384d7ca2d43fd19eb44c85504508903a0 /landscape.c
parentb90e9d49caf46acc51975fdf995858b20d13055f (diff)
downloadopenttd-3ad11e0ad45af46ffbc3cbe16156794d76f1cf4f.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);