diff options
| author | xolatile | 2025-08-17 18:28:28 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-17 18:28:28 +0200 |
| commit | bffe8d11bd1dfec49280fb64a17f0ae529ac3f5d (patch) | |
| tree | 9f4f7b6f5003585e5a170bd55ccaa335b8f26f90 /src/engine/world.cpp | |
| parent | bec4167d29a68efd0cd2da36143e7f1c78a119a0 (diff) | |
| download | xolatile-badassbug-master.tar.xz xolatile-badassbug-master.tar.zst | |
Diffstat (limited to 'src/engine/world.cpp')
| -rw-r--r-- | src/engine/world.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
