mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 06:58:07 +00:00
On-demand loading of actors (sort of)
This was SVN commit r2017.
This commit is contained in:
@@ -17,7 +17,7 @@ CBaseEntity::CBaseEntity()
|
||||
AddProperty( L"actions.move.turningradius", &m_turningRadius );
|
||||
AddProperty( L"actions.attack.range", &m_meleeRange );
|
||||
AddProperty( L"actions.attack.rangemin", &m_meleeRangeMin );
|
||||
AddProperty( L"actor", &m_actorObject );
|
||||
AddProperty( L"actor", &m_actorName );
|
||||
AddProperty( L"traits.extant", &m_extant );
|
||||
AddProperty( L"traits.corpse", &m_corpse );
|
||||
|
||||
@@ -26,8 +26,6 @@ CBaseEntity::CBaseEntity()
|
||||
|
||||
m_base = NULL;
|
||||
|
||||
m_actorObject = NULL;
|
||||
|
||||
// Initialize, make life a little easier on the scriptors
|
||||
m_speed = m_turningRadius = m_meleeRange = m_meleeRangeMin = 0.0f;
|
||||
m_extant = true; m_corpse = CStrW();
|
||||
|
||||
Reference in New Issue
Block a user