Skip to content

Commit

Permalink
[HRP] Fixed IFACE_BAR_WIDTH for Chinese version
Browse files Browse the repository at this point in the history
(wasn't disabled correctly in commit 0622a89)
  • Loading branch information
NovaRain committed Oct 18, 2024
1 parent 2c1ae1b commit 00108e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfall/HRP/Init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ void Setting::init(const char* exeFileName, std::string &cmdline) {

IFaceBar::IFACE_BAR_MODE = sf::IniReader::GetInt("IFACE", "IFACE_BAR_MODE", 0, f2ResIni);
IFaceBar::IFACE_BAR_SIDE_ART = sf::IniReader::GetInt("IFACE", "IFACE_BAR_SIDE_ART", 1, f2ResIni);
IFaceBar::IFACE_BAR_WIDTH = sf::IniReader::GetInt("IFACE", "IFACE_BAR_WIDTH", (!sf::versionCHI && SCR_WIDTH >= 800) ? 800 : 640, f2ResIni);
IFaceBar::IFACE_BAR_WIDTH = (sf::versionCHI) ? 640 : sf::IniReader::GetInt("IFACE", "IFACE_BAR_WIDTH", (SCR_WIDTH >= 800) ? 800 : 640, f2ResIni);
IFaceBar::IFACE_BAR_SIDES_ORI = (sf::IniReader::GetInt("IFACE", "IFACE_BAR_SIDES_ORI", 0, f2ResIni) != 0);

IFaceBar::ALTERNATE_AMMO_METRE = sf::IniReader::GetInt("IFACE", "ALTERNATE_AMMO_METRE", 0, f2ResIni);
Expand Down

0 comments on commit 00108e2

Please sign in to comment.