summaryrefslogtreecommitdiff
path: root/src/engine/world.cpp
diff options
context:
space:
mode:
authorxolatile2025-08-10 14:30:56 +0200
committerxolatile2025-08-10 14:30:56 +0200
commitbec4167d29a68efd0cd2da36143e7f1c78a119a0 (patch)
treef5f75c25e412b000850c4e466db94ee4b804dfa2 /src/engine/world.cpp
parent757096e7df15c14b9b10352fa91663483f9e34f8 (diff)
downloadxolatile-badassbug-bec4167d29a68efd0cd2da36143e7f1c78a119a0.tar.xz
xolatile-badassbug-bec4167d29a68efd0cd2da36143e7f1c78a119a0.tar.zst
Cleared all warnings on GCC...
Diffstat (limited to 'src/engine/world.cpp')
-rw-r--r--src/engine/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/world.cpp b/src/engine/world.cpp
index 69a78d0..d2941d0 100644
--- a/src/engine/world.cpp
+++ b/src/engine/world.cpp
@@ -288,6 +288,7 @@ void entrotate(int *cw) {
if(noentedit()) return;
int d = dimension(sel.orient);
int dd = (*cw<0) == dimcoord(sel.orient) ? R[d] : C[d];
+ (void) dd;
vec s(sel.o.v);
groupeditpure(
e.o[dd] -= (e.o[dd]-(sel.s[dd]*sel.grid/2+sel.o[dd]))*2;
@@ -756,7 +757,6 @@ void nearestent() {
ICOMMAND(enthavesel,"", (), addimplicit(intret(entgroup.length())));
ICOMMAND(entselect, "e", (uint *body), if(!noentedit()) addgroup(e.type != ET_EMPTY && entgroup.find(n)<0 && executebool(body)));
-ICOMMAND(entloop, "e", (uint *body), if(!noentedit()) addimplicit(groupeditloop(((void)e, execute(body)))));
ICOMMAND(insel, "", (), entfocus(efocus, intret(pointinsel(sel, e.o))));
ICOMMAND(entindex, "", (), intret(efocus));
COMMAND(entset, "siiiii");