290 begin |
290 begin |
291 TurnTimeLeft:= cHedgehogTurnTime; |
291 TurnTimeLeft:= cHedgehogTurnTime; |
292 TagTurnTimeLeft:= 0; |
292 TagTurnTimeLeft:= 0; |
293 NextClan:= false; |
293 NextClan:= false; |
294 end; |
294 end; |
|
295 |
295 if (TurnTimeLeft > 0) and (CurrentHedgehog^.BotLevel = 0) then |
296 if (TurnTimeLeft > 0) and (CurrentHedgehog^.BotLevel = 0) then |
296 begin |
297 begin |
297 if CurrentTeam^.ExtDriven then |
298 if CurrentTeam^.ExtDriven then |
298 AddVoice(sndIllGetYou, CurrentTeam^.voicepack) |
299 begin |
|
300 if GetRandom(2) = 0 then |
|
301 AddVoice(sndIllGetYou, CurrentTeam^.voicepack) |
|
302 else AddVoice(sndJustYouWait, CurrentTeam^.voicepack) |
|
303 end |
299 else |
304 else |
300 AddVoice(sndYesSir, CurrentTeam^.voicepack); |
305 AddVoice(sndYesSir, CurrentTeam^.voicepack); |
301 if cHedgehogTurnTime < 1000000 then |
306 if cHedgehogTurnTime < 1000000 then |
302 ReadyTimeLeft:= cReadyDelay; |
307 ReadyTimeLeft:= cReadyDelay; |
303 AddCaption(Format(shortstring(trmsg[sidReady]), CurrentTeam^.TeamName), cWhiteColor, capgrpGameState) |
308 AddCaption(Format(shortstring(trmsg[sidReady]), CurrentTeam^.TeamName), cWhiteColor, capgrpGameState) |
304 end |
309 end |
305 else |
310 else |
306 begin |
311 begin |
307 if TurnTimeLeft > 0 then |
312 if TurnTimeLeft > 0 then |
308 AddVoice(sndIllGetYou, CurrentTeam^.voicepack); |
313 begin |
|
314 if GetRandom(2) = 0 then |
|
315 AddVoice(sndIllGetYou, CurrentTeam^.voicepack) |
|
316 else AddVoice(sndJustYouWait, CurrentTeam^.voicepack) |
|
317 end; |
309 ReadyTimeLeft:= 0 |
318 ReadyTimeLeft:= 0 |
310 end; |
319 end; |
311 |
320 |
312 {$IFDEF SDL13} |
321 {$IFDEF SDL13} |
313 uTouch.NewTurnBeginning(); |
322 uTouch.NewTurnBeginning(); |