some more bugfixes
This commit is contained in:
parent
f009e80689
commit
89f0a6ba8a
|
@ -566,7 +566,7 @@ bool drawstar(cell *c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool drawing_usershape_on(cell *c, mapeditor::eShapegroup sg) {
|
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) {
|
bool drawItemType(eItem it, cell *c, const transmatrix& V, int icol, int ticks, bool hidden) {
|
||||||
|
|
|
@ -1706,7 +1706,8 @@ namespace mapeditor {
|
||||||
return false;
|
return false;
|
||||||
#else
|
#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;
|
drawtrans = V;
|
||||||
|
|
||||||
usershape *us = usershapes[group][id];
|
usershape *us = usershapes[group][id];
|
||||||
|
|
Loading…
Reference in New Issue