From cd2fa33bbcc1e19c09c3f1a904415dc4792acdc6 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 3 Jan 2019 15:15:36 +0100 Subject: [PATCH] no more alpha on floors while editing textures --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index ad45add5..a070742d 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3857,7 +3857,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { int flooralpha = 255; #if CAP_EDIT - if((cmode & sm::DRAW) && mapeditor::drawcell && mapeditor::drawcellShapeGroup() == mapeditor::sgFloor) + if((cmode & sm::DRAW) && mapeditor::drawcell && mapeditor::drawcellShapeGroup() == mapeditor::sgFloor && texture::config.tstate != texture::tsActive) flooralpha = 0xC0; #endif