From 49220cc6f1e3570dc1b9001c40af2a8a4e35b649 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Jun 2007 19:53:50 +0000 Subject: (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. --- 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 5ac30dae9..605469f42 100644 --- a/src/signs.cpp +++ b/src/signs.cpp @@ -147,7 +147,7 @@ CommandCost CmdPlaceSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) _new_sign = si; } - return 0; + return CommandCost(); } /** Rename a sign. If the new name of the sign is empty, we assume @@ -201,7 +201,7 @@ CommandCost CmdRenameSign(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) } } - return 0; + return CommandCost(); } /** -- cgit v1.2.3-54-g00ecf