From dff86840ac2a0c220f166311dcfbe9da2a64b1ac Mon Sep 17 00:00:00 2001 From: Non <43197300+nonperforming@users.noreply.github.com> Date: Wed, 16 Nov 2022 12:10:21 +1300 Subject: [PATCH] Fix typo --- Sources/Client/FallingBlock.cpp | 2 +- Sources/Plus/ServerLimits.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Client/FallingBlock.cpp b/Sources/Client/FallingBlock.cpp index 4a75d2ce3..5885ad1ce 100644 --- a/Sources/Client/FallingBlock.cpp +++ b/Sources/Client/FallingBlock.cpp @@ -179,7 +179,7 @@ namespace spades { void FallingBlock::Render3D() { ModelRenderParam param; param.matrix = matrix; - if (plus::HideBlocks || p_fallingBlocks) + if (plus::fallingBlocks || p_fallingBlocks) { client->GetRenderer().RenderModel(*model, param); } diff --git a/Sources/Plus/ServerLimits.cpp b/Sources/Plus/ServerLimits.cpp index 363eb6913..a08b2a6c8 100644 --- a/Sources/Plus/ServerLimits.cpp +++ b/Sources/Plus/ServerLimits.cpp @@ -29,14 +29,14 @@ namespace spades { float minFov = -360; float maxFov = 360; - int fallingBlocks = 1; + int fallingBlocks = 0; void resetLimits() { SPLog("Raising server restrictions"); minFov = -360; maxFov = 360; - fallingBlocks = 1; + fallingBlocks = 0; } } } \ No newline at end of file