From bffe8d11bd1dfec49280fb64a17f0ae529ac3f5d Mon Sep 17 00:00:00 2001 From: xolatile Date: Sun, 17 Aug 2025 18:28:28 +0200 Subject: Compiles, removed a lot of code, do not run it... --- src/engine/world.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/engine/world.cpp') diff --git a/src/engine/world.cpp b/src/engine/world.cpp index d2941d0..a410c69 100644 --- a/src/engine/world.cpp +++ b/src/engine/world.cpp @@ -323,7 +323,6 @@ void entselectionbox(const entity &e, vec &eo, vec &es) { } VAR(entselsnap, 0, 0, 1); -VAR(entmovingshadow, 0, 1, 1); extern void boxs(int orient, vec o, const vec &s, float size); extern void boxs(int orient, vec o, const vec &s); @@ -475,7 +474,7 @@ void renderentselection(bool entmoving) { gle::colorub(0, 40, 0); entfocus(enthover, entselectionbox(e, eo, es)); // also ensures enthover is back in focus boxs3D(eo, es, 1); - if(entmoving && entmovingshadow==1) { + if(entmoving) { vec a, b; gle::colorub(20, 20, 20); (a = eo).x = eo.x - fmod(eo.x, worldsize); (b = es).x = a.x + worldsize; boxs3D(a, b, 1); -- cgit v1.2.3