fix clang-check warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user