make the BGM time available to actors

This commit is contained in:
Glenn Maynard
2004-10-15 22:10:27 +00:00
parent c31bae20cc
commit cf381e0812
2 changed files with 8 additions and 7 deletions
+1 -6
View File
@@ -8,7 +8,7 @@
#include "RageLog.h"
#include "arch/Dialog/Dialog.h"
static float g_fCurrentBGMTime = 0;
float Actor::g_fCurrentBGMTime = 0;
/* This is Reset instead of Init since many derived classes have Init() functions
* that shouldn't change the position of the actor. */
@@ -59,11 +59,6 @@ Actor::Actor()
m_bFirstUpdate = true;
}
void Actor::SetBGMTime( float fTime )
{
g_fCurrentBGMTime = fTime;
}
void Actor::Draw()
{
if( m_bHidden )