This commit is contained in:
Glenn Maynard
2005-06-21 05:23:25 +00:00
parent fee9e51b2c
commit ff888eaf9e
2 changed files with 12 additions and 8 deletions
+7 -7
View File
@@ -79,13 +79,6 @@ void Actor::Reset()
UnsubcribeAndClearCommands();
}
Actor::Actor()
{
m_size = RageVector2( 1, 1 );
Reset();
m_bFirstUpdate = true;
}
static bool GetMessageNameFromCommandName( const CString &sCommandName, CString &sMessageNameOut )
{
if( sCommandName.Right(7) == "Message" )
@@ -106,6 +99,13 @@ void Actor::UnsubcribeAndClearCommands()
m_vsSubscribedTo.clear();
}
Actor::Actor()
{
m_size = RageVector2( 1, 1 );
Reset();
m_bFirstUpdate = true;
}
Actor::~Actor()
{
UnsubcribeAndClearCommands();