mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
no more alpha on floors while editing textures
This commit is contained in:
parent
ca46a511fb
commit
cd2fa33bbc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user