hedgewars/uGearsRender.pas
changeset 7165 aad1aea05f1e
parent 7098 f8c453ade379
child 7168 8defaabce92e
--- a/hedgewars/uGearsRender.pas	Fri Jun 01 12:42:44 2012 +0400
+++ b/hedgewars/uGearsRender.pas	Sat Jun 02 16:25:13 2012 -0400
@@ -321,8 +321,8 @@
                 // reached edge of land. assume infinite beam. Extend it way out past camera
                 if ((ty and LAND_HEIGHT_MASK) <> 0) or ((tx and LAND_WIDTH_MASK) <> 0) then
                     begin
-                    tx:= round(lx + ax * (LAND_WIDTH div 4));
-                    ty:= round(ly + ay * (LAND_WIDTH div 4));
+                    tx:= round(lx + ax * (LAND_WIDTH div 2));
+                    ty:= round(ly + ay * (LAND_WIDTH div 2));
                     end;
 
                 //if (abs(lx-tx)>8) or (abs(ly-ty)>8) then