mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
add the ability to exclude props from the selection size + add aura visualisation rings again
This was SVN commit r14497.
This commit is contained in:
@@ -82,6 +82,7 @@ bool CObjectBase::Load(const VfsPath& pathname)
|
||||
AT(offsetz);
|
||||
AT(minheight);
|
||||
AT(maxheight);
|
||||
AT(selectable);
|
||||
#undef AT
|
||||
#undef EL
|
||||
|
||||
@@ -252,6 +253,8 @@ bool CObjectBase::Load(const VfsPath& pathname)
|
||||
prop.m_minHeight = pe.Value.ToFloat();
|
||||
else if (pe.Name == at_maxheight)
|
||||
prop.m_maxHeight = pe.Value.ToFloat();
|
||||
else if (pe.Name == at_selectable)
|
||||
prop.m_selectable = pe.Value != "false";
|
||||
}
|
||||
currentVariant->m_Props.push_back(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user