hedgewars/uTeams.pas
changeset 3798 7dcfdd595b30
parent 3774 af0e68ca273e
child 3799 5341dc5a8919
--- a/hedgewars/uTeams.pas	Wed Sep 01 17:42:56 2010 +0200
+++ b/hedgewars/uTeams.pas	Wed Sep 01 18:06:52 2010 +0200
@@ -283,11 +283,18 @@
 else TurnTimeLeft:= cHedgehogTurnTime;
 if (TurnTimeLeft > 0) and (CurrentHedgehog^.BotLevel = 0) then
     begin
-    PlaySound(sndComeonthen, CurrentTeam^.voicepack);
+    if CurrentTeam^.ExtDriven then
+        PlaySound(sndIllGetYou, CurrentTeam^.voicepack)
+    else
+        PlaySound(sndYesSir, CurrentTeam^.voicepack);
     ReadyTimeLeft:= cReadyDelay
     end
 else
-    ReadyTimeLeft:= 0;
+    begin
+    if TurnTimeLeft > 0 then
+        PlaySound(sndIllGetYou, CurrentTeam^.voicepack);
+    ReadyTimeLeft:= 0
+    end
 end;
 
 function AddTeam(TeamColor: Longword): PTeam;