Skip to content

Commit

Permalink
Add missing leaveDeadGhost to UnitDrawer::SetUnitStaticRadarGhost.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Jan 9, 2025
1 parent ddde321 commit f956649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/Units/UnitDrawer.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class CUnitDrawer : public CModelDrawerBase<CUnitDrawerData, CUnitDrawer>
static const std::vector<CUnit*>& GetUnsortedUnits() { return modelDrawerData->GetUnsortedObjects(); }

static void ClearPreviousDrawFlags() { modelDrawerData->ClearPreviousDrawFlags(); }
static void SetUnitStaticRadarGhost(const CUnit* unit) { modelDrawerData->SetUnitStaticRadarGhost(unit); }
static void SetUnitStaticRadarGhost(const CUnit* unit, const bool leaveDeadGhost) { modelDrawerData->SetUnitStaticRadarGhost(unit, leaveDeadGhost); }
public:
// DrawUnit*
virtual void DrawUnitNoTrans(const CUnit* unit, uint32_t preList, uint32_t postList, bool lodCall, bool noLuaCall) const = 0;
Expand Down

0 comments on commit f956649

Please sign in to comment.