Const fixes.

This commit is contained in:
Glenn Maynard
2003-11-07 20:54:18 +00:00
parent 1601168c8d
commit 77cb44ab91
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ void Transition::StartTransitioning( ScreenMessage send_when_done )
m_fSecsIntoTransition = 0.0; m_fSecsIntoTransition = 0.0;
} }
float Transition::GetLengthSeconds() float Transition::GetLengthSeconds() const
{ {
return m_BGAnimation.GetLengthSeconds(); return m_BGAnimation.GetLengthSeconds();
} }
+3 -3
View File
@@ -29,9 +29,9 @@ public:
virtual void StartTransitioning( ScreenMessage send_when_done = SM_None ); virtual void StartTransitioning( ScreenMessage send_when_done = SM_None );
bool IsTransitioning() { return m_State == transitioning; }; bool IsTransitioning() const { return m_State == transitioning; };
bool IsFinished() { return m_State == finished; }; bool IsFinished() const { return m_State == finished; };
float GetLengthSeconds(); float GetLengthSeconds() const;
protected: protected: