File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -163,19 +163,27 @@ void CHudTournament::PlaySounds( int nTime )
163163 break ;
164164 }
165165 case 15 :
166- if (TFGameRules () && TFGameRules ()->IsMannVsMachineMode ())
166+ if ( TFGameRules () && TFGameRules ()->IsMannVsMachineMode () )
167167 {
168- if (TFObjectiveResource ()->GetMannVsMachineWaveCount () <= 1 )
168+ if ( TFObjectiveResource ()->GetMannVsMachineWaveCount () >= TFObjectiveResource ()->GetMannVsMachineMaxWaveCount () )
169+ {
170+ pLocalPlayer->EmitSound ( " Announcer.MVM_Final_Wave_Start" );
171+ }
172+ else if ( TFObjectiveResource ()->GetMannVsMachineWaveCount () <= 1 )
169173 {
170- if (GTFGCClientSystem ()->GetLobby () && IsMannUpGroup (GTFGCClientSystem ()->GetLobby ()->GetMatchGroup ()) || tf_force_mannup_sound.GetBool ())
174+ if ( GTFGCClientSystem ()->GetLobby () && IsMannUpGroup ( GTFGCClientSystem ()->GetLobby ()->GetMatchGroup () ) || tf_force_mannup_sound.GetBool () )
171175 {
172- pLocalPlayer->EmitSound (" Announcer.MVM_Manned_Up" );
176+ pLocalPlayer->EmitSound ( " Announcer.MVM_Manned_Up" );
173177 }
174178 else
175179 {
176- pLocalPlayer->EmitSound (" Announcer.MVM_First_Wave_Start" );
180+ pLocalPlayer->EmitSound ( " Announcer.MVM_First_Wave_Start" );
177181 }
178182 }
183+ else
184+ {
185+ pLocalPlayer->EmitSound ( " Announcer.MVM_Wave_Start" );
186+ }
179187 }
180188 case 10 :
181189 {
You can’t perform that action at this time.
0 commit comments