summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 5d1634cab..1113c66c3 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -82,9 +82,6 @@ void HandleOnEditText(const char *str)
_cmd_text = str;
switch (_rename_what) {
- case 0: // Rename a s sign, if string is empty, delete sign
- DoCommandP(0, id, 0, NULL, CMD_RENAME_SIGN | CMD_MSG(STR_280C_CAN_T_CHANGE_SIGN_NAME));
- break;
case 1: // Rename a waypoint
if (*str == '\0') return;
DoCommandP(0, id, 0, NULL, CMD_RENAME_WAYPOINT | CMD_MSG(STR_CANT_CHANGE_WAYPOINT_NAME));
@@ -341,14 +338,6 @@ void ShowNetworkGiveMoneyWindow(PlayerID player)
}
#endif /* ENABLE_NETWORK */
-void ShowRenameSignWindow(const Sign *si)
-{
- _rename_id = si->index;
- _rename_what = 0;
- SetDParam(0, si->index);
- ShowQueryString(STR_SIGN_NAME, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL);
-}
-
void ShowRenameWaypointWindow(const Waypoint *wp)
{
int id = wp->index;