equal
deleted
inserted
replaced
214 cWindSpeedf:= SignAs(cWindSpeed,cWindSpeed).QWordValue / SignAs(_1,_1).QWordValue; |
214 cWindSpeedf:= SignAs(cWindSpeed,cWindSpeed).QWordValue / SignAs(_1,_1).QWordValue; |
215 if cWindSpeed.isNegative then |
215 if cWindSpeed.isNegative then |
216 CWindSpeedf := -cWindSpeedf; |
216 CWindSpeedf := -cWindSpeedf; |
217 g:= AddGear(0, 0, gtATSmoothWindCh, 0, _0, _0, 1); |
217 g:= AddGear(0, 0, gtATSmoothWindCh, 0, _0, _0, 1); |
218 g^.Tag:= hwRound(cWindSpeed * 72 / cMaxWindSpeed); |
218 g^.Tag:= hwRound(cWindSpeed * 72 / cMaxWindSpeed); |
219 {$IFDEF DEBUGFILE}AddFileLog('Wind = '+FloatToStr(cWindSpeed));{$ENDIF} |
219 AddFileLog('Wind = '+FloatToStr(cWindSpeed)); |
220 end; |
220 end; |
221 |
221 |
222 ApplyAmmoChanges(CurrentHedgehog^); |
222 ApplyAmmoChanges(CurrentHedgehog^); |
223 |
223 |
224 if not CurrentTeam^.ExtDriven then SetBinds(CurrentTeam^.Binds); |
224 if not CurrentTeam^.ExtDriven then SetBinds(CurrentTeam^.Binds); |