fixed hiding player in grapheditor

This commit is contained in:
Zeno Rogue 2018-01-04 18:28:07 +01:00
parent 28a3861dd5
commit f3cf1e06bf
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ namespace mapeditor {
}
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->item) return drawcell->item;
return patterns::getpatterninfo0(drawcell).id;