fix compile error, change RString to const RString& because I can; again, PLEASE try to compile your build before committing it :|
This commit is contained in:
@@ -1429,7 +1429,7 @@ void ScreenGameplay::PlayTicks()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Play announcer "type" if it's been at least fSeconds since the last announcer. */
|
/* Play announcer "type" if it's been at least fSeconds since the last announcer. */
|
||||||
void ScreenGameplay::PlayAnnouncer( RString type, float fSeconds, float *fDeltaSeconds )
|
void ScreenGameplay::PlayAnnouncer( const RString &type, float fSeconds, float *fDeltaSeconds )
|
||||||
{
|
{
|
||||||
if( GAMESTATE->m_fOpponentHealthPercent == 0 )
|
if( GAMESTATE->m_fOpponentHealthPercent == 0 )
|
||||||
return; // Shut the announcer up
|
return; // Shut the announcer up
|
||||||
|
|||||||
@@ -206,8 +206,8 @@ protected:
|
|||||||
void GetMusicEndTiming( float &fSecondsToStartFadingOutMusic, float &fSecondsToStartTransitioningOut );
|
void GetMusicEndTiming( float &fSecondsToStartFadingOutMusic, float &fSecondsToStartTransitioningOut );
|
||||||
void LoadLights();
|
void LoadLights();
|
||||||
void PauseGame( bool bPause, GameController gc = GameController_Invalid );
|
void PauseGame( bool bPause, GameController gc = GameController_Invalid );
|
||||||
void PlayAnnouncer( RString type, float fSeconds, float *fDeltaSeconds );
|
void PlayAnnouncer( const RString &type, float fSeconds, float *fDeltaSeconds );
|
||||||
void PlayAnnouncer( RString type, float fSeconds ) { PlayAnnouncer(type, fSeconds, &m_fTimeSinceLastDancingComment) };
|
void PlayAnnouncer( const RString &type, float fSeconds ) { PlayAnnouncer(type, fSeconds, &m_fTimeSinceLastDancingComment); }
|
||||||
void UpdateLights();
|
void UpdateLights();
|
||||||
void SendCrossedMessages();
|
void SendCrossedMessages();
|
||||||
void BeginBackingOutFromGameplay();
|
void BeginBackingOutFromGameplay();
|
||||||
|
|||||||
Reference in New Issue
Block a user