changeset 6 | 9c1f00e7b43e |
parent 5 | 0dafbd19a04c |
child 10 | edf56dca1587 |
--- a/hedgewars/uTeams.pas Thu Aug 25 16:45:58 2005 +0000 +++ b/hedgewars/uTeams.pas Thu Aug 25 17:15:36 2005 +0000 @@ -122,6 +122,7 @@ end; ResetKbd; cWindSpeed:= (GetRandom * 2 - 1) * cMaxWindSpeed; +AddGear(0, 0, gtActionTimer, gtsSmoothWindCh).Tag:= round(72 * cWindSpeed / cMaxWindSpeed); {$IFDEF DEBUGFILE}AddFileLog('Wind = '+FloatToStr(cWindSpeed));{$ENDIF} ApplyAmmoChanges(@CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog]); TurnTimeLeft:= cHedgehogTurnTime