remove InitDefaults
This commit is contained in:
@@ -46,13 +46,6 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights )
|
||||
g_fCabinetLights[iLightNumber] = fCabinetLights;
|
||||
}
|
||||
|
||||
void Actor::InitDefaults()
|
||||
{
|
||||
InitState();
|
||||
|
||||
UnsubscribeAll();
|
||||
}
|
||||
|
||||
void Actor::InitState()
|
||||
{
|
||||
StopTweening();
|
||||
@@ -125,7 +118,7 @@ Actor::Actor()
|
||||
|
||||
|
||||
m_size = RageVector2( 1, 1 );
|
||||
InitDefaults();
|
||||
InitState();
|
||||
m_pParent = NULL;
|
||||
m_bFirstUpdate = true;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ public:
|
||||
Actor( const Actor &cpy );
|
||||
virtual ~Actor();
|
||||
virtual Actor *Copy() const;
|
||||
virtual void InitDefaults();
|
||||
virtual void InitState();
|
||||
virtual void LoadFromNode( const RString& sDir, const XNode* pNode );
|
||||
bool IsType( const RString &sType );
|
||||
|
||||
Reference in New Issue
Block a user