# - Housekeeping

# - Territory restriction rules for buildings.

This was SVN commit r4206.
This commit is contained in:
Matei
2006-08-08 03:45:13 +00:00
parent 235ad34669
commit fce69aaa7f
9 changed files with 67 additions and 102 deletions
+1 -1
View File
@@ -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