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:
Mark Cannon
2011-10-06 23:32:23 -04:00
parent 8b82873eb4
commit deb8ea5347
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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