(svn r10321) -Codechange: refer to sign text by index

This commit is contained in:
peter1138
2007-06-25 10:40:56 +00:00
parent 5c6106cbcf
commit fd73ea2058
8 changed files with 18 additions and 6 deletions

View File

@@ -346,7 +346,8 @@ void ShowRenameSignWindow(const Sign *si)
{
_rename_id = si->index;
_rename_what = 0;
ShowQueryString(si->str, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL);
SetDParam(0, si->index);
ShowQueryString(STR_SIGN_NAME, STR_280B_EDIT_SIGN_TEXT, 30, 180, NULL, CS_ALPHANUMERAL);
}
void ShowRenameWaypointWindow(const Waypoint *wp)