one finger ought to be enough for everybody
authorsheepluva
Sun, 06 Jul 2014 12:19:24 +0200
changeset 10359 744f1151c707
parent 10358 d22515d9624d
child 10360 c243b6a8ad9a
one finger ought to be enough for everybody
hedgewars/uGearsHandlersMess.pas
hedgewars/uWorld.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jul 06 12:02:55 2014 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jul 06 12:19:24 2014 +0200
@@ -3195,7 +3195,7 @@
     else
         exit;
 
-    if playWidth > cMinPlayWidth then
+    if (WorldEdge = weSea) and (playWidth > cMinPlayWidth) then
         begin
         inc(leftX);
         dec(rightX);
--- a/hedgewars/uWorld.pas	Sun Jul 06 12:02:55 2014 +0200
+++ b/hedgewars/uWorld.pas	Sun Jul 06 12:19:24 2014 +0200
@@ -1240,7 +1240,7 @@
     s: shortstring;
     offsetX, offsetY, screenBottom: LongInt;
     VertexBuffer: array [0..3] of TVertex2f;
-    replicateToLeft, replicateToRight: boolean;
+    replicateToLeft, replicateToRight, tmp: boolean;
 begin
 if WorldEdge <> weWrap then
 begin
@@ -1333,6 +1333,9 @@
         end;
 *)
 
+tmp:= bShowFinger;
+bShowFinger:= false;
+
 if replicateToLeft then
     begin
     // remember original value
@@ -1357,6 +1360,8 @@
     WorldDx:= i;
     end;
 
+bShowFinger:= tmp;
+
 DrawVisualGears(1);
 DrawGears;
 DrawVisualGears(6);