hedgewars/uTeams.pas
changeset 1669 b709e061577e
parent 1657 dde8f60d3e07
child 1678 c8deca7b1e3c
--- a/hedgewars/uTeams.pas	Tue Jan 13 22:38:08 2009 +0000
+++ b/hedgewars/uTeams.pas	Wed Jan 14 16:36:16 2009 +0000
@@ -224,14 +224,12 @@
 
 if not CurrentTeam^.ExtDriven then SetBinds(CurrentTeam^.Binds);
 
-SetVoicePack(CurrentTeam^.voicepack);
-
 bShowFinger:= true;
 
 if (CurrentTeam^.ExtDriven or (CurrentHedgehog^.BotLevel > 0)) then
-	PlaySound(sndIllGetYou, false)
+	PlaySound(sndIllGetYou, false, CurrentTeam^.voicepack)
 else
-	PlaySound(sndYesSir, false);
+	PlaySound(sndYesSir, false, CurrentTeam^.voicepack);
 
 TurnTimeLeft:= cHedgehogTurnTime
 end;