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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user