File diff r17568:5a30faf912f9 → r17569:79cc833a8f35
src/ai/ai_gui.cpp
Show inline comments
 
@@ -394,13 +394,13 @@ struct AISettingsWindow : public Window 
 

	
 
					this->CheckDifficultyLevel();
 
				} else if (!bool_item) {
 
					/* Display a query box so users can enter a custom value. */
 
					this->clicked_row = num;
 
					SetDParam(0, this->ai_config->GetSetting(config_item.name));
 
					ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, 100, this, CS_NUMERAL, QSF_NONE);
 
					ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, this, CS_NUMERAL, QSF_NONE);
 
				}
 

	
 
				this->SetDirty();
 
				break;
 
			}