some more bugfixes

This commit is contained in:
Zeno Rogue committed 2018-08-28 14:09:36 +02:00
1 parent f009e80689
commit 89f0a6ba8a
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -566,7 +566,7 @@ bool drawstar(cell *c) {
}
bool drawing_usershape_on(cell *c, mapeditor::eShapegroup sg) {
return c && c == mapeditor::drawcell && mapeditor::drawcellShapeGroup() == mapeditor::sgItem;
return c && c == mapeditor::drawcell && mapeditor::drawcellShapeGroup() == sg;
}
bool drawItemType(eItem it, cell *c, const transmatrix& V, int icol, int ticks, bool hidden) {
+2 -1
View File
@@ -1706,7 +1706,8 @@ namespace mapeditor {
return false;
#else
if(c && c == drawcell && editingShape(group, id) && prio == PPR_DEFAULT)
// floors handled separately
if(c && c == drawcell && editingShape(group, id) && group != sgFloor)
drawtrans = V;
usershape *us = usershapes[group][id];