fix bug where demolishing construction sites was not possible

This commit is contained in:
2026-04-24 22:00:47 +02:00
parent 604ad7f13f
commit 409ec93d7d
2 changed files with 40 additions and 7 deletions

View File

@@ -96,6 +96,7 @@ private:
bool isValidPlacement(BuildingType type, QPoint anchor, Rotation rot) const;
const BuildingDef* findBuildingDef(BuildingType type) const;
EntityId buildingAtTile(QPoint tile) const;
EntityId siteAtTile(QPoint tile) const;
void drawPortGlyph(QPainter& painter, QPoint bodyTile,
Rotation direction, const QColor& color);