port neothe0ne's "Fixed "Gameplay ### combo" announcer messages." from rsr-sandbox

This commit is contained in:
AJ Kelly
2010-12-31 14:34:25 -06:00
parent 37f68c7565
commit b28244b3fc
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -13,9 +13,13 @@ _____________________________________________________________________________
sm-ssc v1.2 | 201012xx sm-ssc v1.2 | 201012xx
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
20101231
--------
* [ScreenGameplay] Fixed "Gameplay ### combo" announcer messages. [neothe0ne]
20101230 20101230
-------- --------
* [StepsDisplay] Make the StepsType react to SetMessage as well. [freme] * [StepsDisplay] Make the StepsType react to SetMessage as well. [freem]
20101229 20101229
-------- --------
+1 -1
View File
@@ -2578,7 +2578,7 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
} }
else if( SM >= SM_100Combo && SM <= SM_1000Combo ) else if( SM >= SM_100Combo && SM <= SM_1000Combo )
{ {
int iCombo = (SM-SM_100Combo+1)*100; int iCombo = ((SM - 100) + 1)*100;
PlayAnnouncer( ssprintf("gameplay %d combo",iCombo), 2 ); PlayAnnouncer( ssprintf("gameplay %d combo",iCombo), 2 );
} }
else if( SM == SM_ComboStopped ) else if( SM == SM_ComboStopped )