1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 03:17:39 +00:00

fixed hiding player in grapheditor

This commit is contained in:
Zeno Rogue
2018-01-04 18:28:07 +01:00
parent 28a3861dd5
commit f3cf1e06bf

View File

@@ -488,7 +488,7 @@ namespace mapeditor {
} }
int drawcellShapeID() { int drawcellShapeID() {
if(drawcell == cwt.c) return vid.cs.charid; if(drawcell == cwt.c && drawplayer) return vid.cs.charid;
if(drawcell->monst) return drawcell->monst; if(drawcell->monst) return drawcell->monst;
if(drawcell->item) return drawcell->item; if(drawcell->item) return drawcell->item;
return patterns::getpatterninfo0(drawcell).id; return patterns::getpatterninfo0(drawcell).id;