mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 17:02:37 +01:00
Codechange: Replace old non-standard attributes with C++17/20 standard attributes.
This commit is contained in:
@@ -128,7 +128,7 @@ struct EnginePreviewWindow : Window {
|
||||
switch (widget) {
|
||||
case WID_EP_YES:
|
||||
Command<CMD_WANT_ENGINE_PREVIEW>::Post(this->window_number);
|
||||
FALLTHROUGH;
|
||||
[[fallthrough]];
|
||||
case WID_EP_NO:
|
||||
if (!_shift_pressed) this->Close();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user