From 3f53698f3634b914bbc6f7b84ba3a207f73f3799 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 4 Jul 2020 13:33:14 +0200 Subject: [PATCH] fixed unused variables in mapeditor --- mapeditor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapeditor.cpp b/mapeditor.cpp index a225ecea..2dd83a37 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -2349,13 +2349,13 @@ namespace mapeditor { #if CAP_TEXTURE bool intexture = texture::config.tstate == texture::tsActive; freedraw |= intexture; - #else - always_false intexture; #endif if(freedraw) { - + +#if CAP_TEXTURE int tcolor = (dtcolor >> 8) | ((dtcolor & 0xFF) << 24); +#endif if(uni == '-' && !clickused) { if(mousekey == 'e') {