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. */
|
||||
void ScreenGameplay::PlayAnnouncer( RString type, float fSeconds, float *fDeltaSeconds )
|
||||
void ScreenGameplay::PlayAnnouncer( const RString &type, float fSeconds, float *fDeltaSeconds )
|
||||
{
|
||||
if( GAMESTATE->m_fOpponentHealthPercent == 0 )
|
||||
return; // Shut the announcer up
|
||||
|
||||
Reference in New Issue
Block a user