diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-30 17:51:50 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-30 17:51:50 +0000 |
commit | f3aebc411dc9f74d6a19006086a126a85659cf09 (patch) | |
tree | a6b3081588946bcb48e57bc281cf907fe201adb7 /src/main_gui.cpp | |
parent | 69586c94aeed32153d1b26f5877c741fb4a38222 (diff) | |
download | openttd-f3aebc411dc9f74d6a19006086a126a85659cf09.tar.xz |
(svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC)
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 11 |
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; |