mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Clean up the category property of TGOs.
This really needs to be a proper type, but this is a start: create new categories for the types of TGOs that are missing. This removes some icon special cases.
This commit is contained in:
@@ -84,12 +84,6 @@ class QMapGroundObject(QMapObject):
|
||||
painter.save()
|
||||
|
||||
cat = self.ground_object.category
|
||||
if cat == "aa" and self.ground_object.sea_object:
|
||||
cat = "ship"
|
||||
if isinstance(self.ground_object, MissileSiteGroundObject):
|
||||
cat = "missile"
|
||||
if isinstance(self.ground_object, CoastalSiteGroundObject):
|
||||
cat = "coastal"
|
||||
|
||||
rect = QRect(
|
||||
option.rect.x() + 2,
|
||||
|
||||
Reference in New Issue
Block a user