From 966e2738b9c97bb44276ec90ebfa4a202d67d715 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Jun 2007 10:48:15 +0000 Subject: (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. --- src/signs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/signs.cpp') diff --git a/src/signs.cpp b/src/signs.cpp index 8f3f0f365..5ac30dae9 100644 --- a/src/signs.cpp +++ b/src/signs.cpp @@ -122,7 +122,7 @@ void DestroySign(Sign *si) * @param p1 unused * @param p2 unused */ -int32 CmdPlaceSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) +CommandCost CmdPlaceSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) { Sign *si; @@ -159,7 +159,7 @@ int32 CmdPlaceSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) * @param p2 unused * @return 0 if succesfull, otherwise CMD_ERROR */ -int32 CmdRenameSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) +CommandCost CmdRenameSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) { if (!IsValidSignID(p1)) return CMD_ERROR; -- cgit v1.2.3-54-g00ecf