Skip to content

Commit

Permalink
Fix Russian hotbar on top setting label
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmMoltony committed Feb 2, 2024
1 parent 0c8fb02 commit 9b394eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,8 @@ void Game::draw(void)
}
glColor(RGB15(31, 31, 31));

if (std::find(favWorlds.begin(), favWorlds.end(), worldInfoName) != favWorlds.end()) {
if (std::find(favWorlds.begin(), favWorlds.end(), worldInfoName) != favWorlds.end())
{
glPolyFmt(POLY_ALPHA(15) | POLY_CULL_NONE);
glColor(RGB15(0, 0, 0));
glSprite(SCREEN_WIDTH - 22, 48 + i * 40 + 18 - offset + 2, GL_FLIP_NONE, sprHeart);
Expand Down Expand Up @@ -1403,7 +1404,7 @@ void Game::draw(void)
font.printfCentered(0, 103, (settingsSelect == SETTING_HOTBAR_ON_TOP) ? "> Hotbar on top: %s <" : "Hotbar on top: %s", SettingsManager::hotbarOnTop ? "yes" : "no");
break;
case Language::Russian:
fontRu.printfCentered(0, 103, (settingsSelect == SETTING_HOTBAR_ON_TOP) ? "> Qqjkyk& xqucbsb: %s <" : "Qqjkyk& xqucbsb: %s", SettingsManager::hotbarOnTop ? "tdgsxv" : "tpkjv");
fontRu.printfCentered(0, 103, (settingsSelect == SETTING_HOTBAR_ON_TOP) ? "> Qqjkyk& xqucbsb: %s '" : "Qqjkyk& xqucbsb: %s", SettingsManager::hotbarOnTop ? "tdgsxv" : "tpkjv");
break;
}

Expand Down Expand Up @@ -2361,7 +2362,7 @@ void Game::update(void)
settingsFromPause = false;
gameState = State::Game;
}
else
else
gameState = State::TitleScreen;
}
else if (down & KEY_A)
Expand Down

0 comments on commit 9b394eb

Please sign in to comment.