don't unsubscribe from messages on bgchange

This commit is contained in:
Chris Danford
2006-05-30 09:08:00 +00:00
parent 7540f787dd
commit a5f0d301c9
5 changed files with 17 additions and 3 deletions
+7 -2
View File
@@ -47,6 +47,13 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights )
}
void Actor::InitDefaults()
{
InitState();
UnsubscribeAll();
}
void Actor::InitState()
{
StopTweening();
@@ -88,8 +95,6 @@ void Actor::InitDefaults()
m_ZTestMode = ZTEST_OFF;
m_bZWrite = false;
m_CullMode = CULL_NONE;
UnsubscribeAll();
}
static bool GetMessageNameFromCommandName( const RString &sCommandName, RString &sMessageNameOut )