mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: coding style fixes
This commit is contained in:
parent
0075364c89
commit
e3f49ee7a0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue