mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
Codechange: coding style fixes
This commit is contained in:
@@ -688,7 +688,7 @@ struct GameOptionsWindow : Window {
|
|||||||
case WID_GO_BASE_GRF_DROPDOWN:
|
case WID_GO_BASE_GRF_DROPDOWN:
|
||||||
if (_game_mode == GM_MENU) {
|
if (_game_mode == GM_MENU) {
|
||||||
CloseWindowByClass(WC_GRF_PARAMETERS);
|
CloseWindowByClass(WC_GRF_PARAMETERS);
|
||||||
auto* set = BaseGraphics::GetSet(index);
|
auto set = BaseGraphics::GetSet(index);
|
||||||
BaseGraphics::SetSet(set);
|
BaseGraphics::SetSet(set);
|
||||||
this->reload = true;
|
this->reload = true;
|
||||||
this->InvalidateData();
|
this->InvalidateData();
|
||||||
@@ -697,7 +697,7 @@ struct GameOptionsWindow : Window {
|
|||||||
|
|
||||||
case WID_GO_BASE_SFX_DROPDOWN:
|
case WID_GO_BASE_SFX_DROPDOWN:
|
||||||
if (_game_mode == GM_MENU) {
|
if (_game_mode == GM_MENU) {
|
||||||
auto* set = BaseSounds::GetSet(index);
|
auto set = BaseSounds::GetSet(index);
|
||||||
BaseSounds::ini_set = set->name;
|
BaseSounds::ini_set = set->name;
|
||||||
BaseSounds::SetSet(set);
|
BaseSounds::SetSet(set);
|
||||||
this->reload = true;
|
this->reload = true;
|
||||||
|
Reference in New Issue
Block a user