changeset 5357 | ec36f3d53f3c |
parent 5313 | 5e18eaef65d0 |
child 5366 | bfdd925e89a5 |
--- a/hedgewars/uScript.pas Thu Jun 30 14:28:13 2011 +0400 +++ b/hedgewars/uScript.pas Thu Jun 30 15:09:10 2011 +0400 @@ -1305,7 +1305,7 @@ cWindSpeedf:= SignAs(cWindSpeed,cWindSpeed).QWordValue / SignAs(_1,_1).QWordValue; if cWindSpeed.isNegative then CWindSpeedf := -cWindSpeedf; - AddGear(0, 0, gtATSmoothWindCh, 0, _0, _0, 1)^.Tag:= hwRound(cWindSpeed * 72 / cMaxWindSpeed); + AddVisualGear(0, 0, vgtSmoothWindBar); end; lc_setwind:= 0 end;