Actor::Reset() -> private Actor::InitDefaults().

This commit is contained in:
Glenn Maynard
2005-10-16 02:22:33 +00:00
parent 9d5ca1ccbf
commit 17efa3412d
2 changed files with 4 additions and 5 deletions
+2 -4
View File
@@ -46,9 +46,7 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights )
g_fCabinetLights[iLightNumber] = fCabinetLights;
}
/* This is Reset instead of Init since many derived classes have Init() functions
* that shouldn't change the position of the actor. */
void Actor::Reset()
void Actor::InitDefaults()
{
StopTweening();
@@ -118,7 +116,7 @@ Actor::Actor()
{
m_pLuaInstance = new LuaClass;
m_size = RageVector2( 1, 1 );
Reset();
InitDefaults();
m_bFirstUpdate = true;
}