diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 19:53:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 19:53:50 +0000 |
commit | 773a7c9cb64856bd2bca11f9c38eea049b353e4e (patch) | |
tree | 62843984493ffedb69f91d7b85cb631ecb61ff3e /src/signs.cpp | |
parent | bcdb89906b06a64c368e89d2f267cd617b2210c1 (diff) | |
download | openttd-773a7c9cb64856bd2bca11f9c38eea049b353e4e.tar.xz |
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
Diffstat (limited to 'src/signs.cpp')
-rw-r--r-- | src/signs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } /** |