fix clang-check warnings

This commit is contained in:
MihailRis
2025-01-01 16:06:44 +03:00
parent 4c23dc6adf
commit 17dcbe98ab
8 changed files with 8 additions and 12 deletions
-2
View File
@@ -289,8 +289,6 @@ void Hud::updateWorldGenDebugVisualization() {
for (int z = 0; z < height; z++) {
for (int x = 0; x < width; x++) {
int cx = x + ox;
int cz = z + oz;
int flippedZ = height - z - 1;
int ax = x - (width - areaWidth) / 2;
-1
View File
@@ -148,7 +148,6 @@ void LevelScreen::saveWorldPreview() {
}
void LevelScreen::updateHotkeys() {
auto player = playerController->getPlayer();
auto& settings = engine.getSettings();
if (Events::jpressed(keycode::O)) {
settings.graphics.frustumCulling.toggle();