mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
added missing CAP_TEXTURE guards
This commit is contained in:
1 parent
b8990890d7
commit
6abb527854
2 files changed
+4
-2
No files matched your search
@@ -3886,7 +3886,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
|
||||
int flooralpha = 255;
|
||||
|
||||
#if CAP_EDIT
|
||||
#if CAP_EDIT && CAP_TEXTURE
|
||||
if((cmode & sm::DRAW) && mapeditor::drawcell && mapeditor::drawcellShapeGroup() == mapeditor::sgFloor && texture::config.tstate != texture::tsActive)
|
||||
flooralpha = 0xC0;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user