no more alpha on floors while editing textures

This commit is contained in:
Zeno Rogue
2019-02-06 18:48:52 +01:00
parent ca46a511fb
commit cd2fa33bbc
+1 -1
View File
@@ -3857,7 +3857,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
int flooralpha = 255; int flooralpha = 255;
#if CAP_EDIT #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; flooralpha = 0xC0;
#endif #endif