Fix hog tags of current hog not rendered in gray area of wrap world edge if finger is shown
authorWuzzy <Wuzzy2@mail.ru>
Mon, 01 Jul 2019 22:35:19 +0200
changeset 15230 fe79f62ef158
parent 15229 13e3e643b4f5
child 15231 f783f5d55717
Fix hog tags of current hog not rendered in gray area of wrap world edge if finger is shown
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sun Jun 30 11:43:39 2019 +0200
+++ b/hedgewars/uWorld.pas	Mon Jul 01 22:35:19 2019 +0200
@@ -1144,7 +1144,7 @@
     r: TSDL_Rect;
     s: shortstring;
     offsetX, offsetY, screenBottom: LongInt;
-    replicateToLeft, replicateToRight, tmp, isNotHiddenByCinematic: boolean;
+    replicateToLeft, replicateToRight, isNotHiddenByCinematic: boolean;
 {$IFDEF USE_VIDEO_RECORDING}
     a: Byte;
 {$ENDIF}
@@ -1225,9 +1225,6 @@
 
 DrawWater(255, 0, 0);
 
-tmp:= bShowFinger;
-bShowFinger:= false;
-
 if replicateToLeft then
     begin
     ShiftWorld(-1);
@@ -1246,8 +1243,6 @@
     UnshiftWorld();
     end;
 
-bShowFinger:= tmp;
-
 DrawVisualGears(1, false);
 DrawGears;
 DrawVisualGears(6, false);