Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ class PartitionFilterHordeMember : public PartitionFilter

virtual Bool allow(Object *objOther) override
{
#if !RETAIL_COMPATIBLE_CRC
// TheSuperHackers @bugfix Stubbjax 07/08/2026 Prevent dead units from being considered for horde membership.
if (objOther->isEffectivelyDead())
return false;
#endif

// must be exact same type as us (well, maybe)
if (m_data->m_exactMatch && m_obj->getTemplate() != objOther->getTemplate())
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ class PartitionFilterHordeMember : public PartitionFilter

virtual Bool allow(Object *objOther) override
{
#if !RETAIL_COMPATIBLE_CRC
// TheSuperHackers @bugfix Stubbjax 07/08/2026 Prevent dead units from being considered for horde membership.
if (objOther->isEffectivelyDead())
return false;
#endif

// must be exact same type as us (well, maybe)
if (m_data->m_exactMatch && m_obj->getTemplate() != objOther->getTemplate())
return false;
Expand Down
Loading