From 51d60169b30fcadc8c3efdd98f07febd82ad84d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Wed, 3 Nov 2021 16:43:15 +0100 Subject: [PATCH] increase build range --- code/game/src/gui/build_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/src/gui/build_mode.c b/code/game/src/gui/build_mode.c index 6071ae2..413e4e9 100644 --- a/code/game/src/gui/build_mode.c +++ b/code/game/src/gui/build_mode.c @@ -33,7 +33,7 @@ void buildmode_draw(void) { double dx = old_cam.x - cam.x; double dy = old_cam.y - cam.y; double dsq = (dx*dx + dy*dy); - bool is_outside_range = (dsq > zpl_square(WORLD_BLOCK_SIZE*8)); + bool is_outside_range = (dsq > zpl_square(WORLD_BLOCK_SIZE*14)); if (build_submit_placements) { build_submit_placements = false;