mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap.
This commit is contained in:
parent
39e52ca845
commit
810e14cc21
|
@ -1467,7 +1467,9 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e)
|
|||
}
|
||||
break;
|
||||
case WE_MOUSELOOP:
|
||||
HandleEditBox(w, &WP(w, querystr_d), 10);
|
||||
if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
|
||||
HandleEditBox(w, &WP(w, querystr_d), 10);
|
||||
}
|
||||
break;
|
||||
case WE_KEYPRESS:
|
||||
if (e->we.keypress.keycode == WKC_ESC) {
|
||||
|
|
Loading…
Reference in New Issue