mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 01:33:29 +00:00
Added code for placement of socketted buildings.
This was SVN commit r4073.
This commit is contained in:
@@ -69,6 +69,7 @@ CBaseEntity::CBaseEntity( CPlayer* player )
|
||||
AddProperty( L"traits.vision.permanent", &m_permanent );
|
||||
AddProperty( L"traits.is_territory_centre", &m_isTerritoryCentre );
|
||||
AddProperty( L"traits.foundation", &m_foundation );
|
||||
AddProperty( L"traits.socket", &m_socket );
|
||||
|
||||
for( int t = 0; t < EVENT_LAST; t++ )
|
||||
{
|
||||
@@ -80,6 +81,7 @@ CBaseEntity::CBaseEntity( CPlayer* player )
|
||||
m_speed = m_turningRadius = 0.0f;
|
||||
m_extant = true;
|
||||
m_foundation = CStrW();
|
||||
m_socket = CStrW();
|
||||
m_passThroughAllies = false;
|
||||
m_sectorDivs = 4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user