Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/release-linux.yml # .github/workflows/release-macos.yml # src/industry_cmd.cpp # src/industry_cmd.h # src/network/core/http_curl.cpp # src/network/core/tcp_http.cpp # src/network/core/tcp_http.h # src/network/network_content.h # src/script/api/script_goal.cpp # src/script/api/script_industry.cpp # src/script/api/script_league.cpp # src/script/api/script_story_page.cpp # src/script/api/script_town.cpp # src/train.h # src/train_cmd.cpp
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "script_gui.h"
|
||||
#include "script_log.hpp"
|
||||
#include "script_scanner.hpp"
|
||||
#include "script_config.hpp"
|
||||
#include "../ai/ai.hpp"
|
||||
#include "../ai/ai_config.hpp"
|
||||
#include "../ai/ai_info.hpp"
|
||||
@@ -506,7 +507,7 @@ struct ScriptSettingsWindow : public Window {
|
||||
} else if (!bool_item && !config_item.complete_labels) {
|
||||
/* Display a query box so users can enter a custom value. */
|
||||
SetDParam(0, old_val);
|
||||
ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, this, CS_NUMERAL, QSF_NONE);
|
||||
ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, INT32_DIGITS_WITH_SIGN_AND_TERMINATION, this, CS_NUMERAL_SIGNED, QSF_NONE);
|
||||
}
|
||||
this->SetDirty();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user