summaryrefslogtreecommitdiff
path: root/src/signs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signs.cpp')
-rw-r--r--src/signs.cpp4
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();
}
/**