mirror of https://github.com/OpenTTD/OpenTTD
Cleanup: GS don't have "start_date"
parent
6aafccfb22
commit
cef9931e53
|
@ -376,7 +376,7 @@ struct AISettingsWindow : public Window {
|
|||
TextColour colour;
|
||||
uint idx = 0;
|
||||
if (StrEmpty(config_item.description)) {
|
||||
if (!strcmp(config_item.name, "start_date")) {
|
||||
if (this->slot != OWNER_DEITY && !strcmp(config_item.name, "start_date")) {
|
||||
/* Build-in translation */
|
||||
str = STR_AI_SETTINGS_START_DELAY;
|
||||
colour = TC_LIGHT_BLUE;
|
||||
|
|
|
@ -212,14 +212,8 @@ struct GSConfigWindow : public Window {
|
|||
TextColour colour;
|
||||
uint idx = 0;
|
||||
if (StrEmpty(config_item.description)) {
|
||||
if (!strcmp(config_item.name, "start_date")) {
|
||||
/* Build-in translation */
|
||||
str = STR_AI_SETTINGS_START_DELAY;
|
||||
colour = TC_LIGHT_BLUE;
|
||||
} else {
|
||||
str = STR_JUST_STRING;
|
||||
colour = TC_ORANGE;
|
||||
}
|
||||
} else {
|
||||
str = STR_AI_SETTINGS_SETTING;
|
||||
colour = TC_LIGHT_BLUE;
|
||||
|
|
Loading…
Reference in New Issue