mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 07:17:44 +00:00
# - Housekeeping
# - Territory restriction rules for buildings. This was SVN commit r4206.
This commit is contained in:
@@ -217,7 +217,7 @@ EUnitLOSStatus CLOSManager::GetUnitStatus(CUnit* unit, CPlayer* player)
|
||||
|
||||
if(status & LOS_EXPLORED)
|
||||
{
|
||||
if(unit->GetEntity() == 0 || unit->GetEntity()->m_permanent)
|
||||
if(unit->GetEntity() == 0 || unit->GetEntity()->m_base->m_visionPermanent)
|
||||
{
|
||||
// both actors (which are usually for decoration) and units with the
|
||||
// permanent flag should be remembered
|
||||
|
||||
Reference in New Issue
Block a user