diff options
Diffstat (limited to 'src/signs_cmd.h')
-rw-r--r-- | src/signs_cmd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/signs_cmd.h b/src/signs_cmd.h index 1c4e1b465..627cfa648 100644 --- a/src/signs_cmd.h +++ b/src/signs_cmd.h @@ -13,10 +13,12 @@ #include "command_type.h" #include "signs_type.h" -CommandCost CmdPlaceSign(DoCommandFlag flags, TileIndex tile, const std::string &text); +std::tuple<CommandCost, SignID> CmdPlaceSign(DoCommandFlag flags, TileIndex tile, const std::string &text); CommandCost CmdRenameSign(DoCommandFlag flags, SignID sign_id, const std::string &text); DEF_CMD_TRAIT(CMD_PLACE_SIGN, CmdPlaceSign, CMD_DEITY, CMDT_OTHER_MANAGEMENT) DEF_CMD_TRAIT(CMD_RENAME_SIGN, CmdRenameSign, CMD_DEITY, CMDT_OTHER_MANAGEMENT) +void CcPlaceSign(Commands cmd, const CommandCost &result, SignID new_sign); + #endif /* SIGNS_CMD_H */ |