changeset 7575 | f415b3e0f3b9 |
parent 7519 | 14261378d074 |
child 7592 | cf67e58313ea |
--- a/hedgewars/uGears.pas Tue Aug 21 21:46:05 2012 -0400 +++ b/hedgewars/uGears.pas Wed Aug 22 11:42:42 2012 -0400 @@ -641,7 +641,8 @@ if (GameFlags and gfArtillery) <> 0 then cArtillery:= true; for i:= GetRandom(10)+30 downto 0 do - begin rx:= GetRandom(rightX-leftX)+leftX; + begin + rx:= GetRandom(rightX-leftX)+leftX; ry:= GetRandom(LAND_HEIGHT-topY)+topY; rdx:= _90-(GetRandomf*_360); rdy:= _90-(GetRandomf*_360);