fix copypasta
authornemo
Thu, 11 Dec 2014 07:52:51 -0500
changeset 10658 a3872ffdeab1
parent 10657 f2507005be87
child 10659 79e466c393f7
fix copypasta
hedgewars/uMisc.pas
hedgewars/uVisualGears.pas
--- a/hedgewars/uMisc.pas	Thu Dec 11 13:35:35 2014 +0100
+++ b/hedgewars/uMisc.pas	Thu Dec 11 07:52:51 2014 -0500
@@ -287,7 +287,7 @@
      image^.filename:= shortstring(UserPathPrefix) + filename + '_landpixels' + ext
 else if dump = 1 then
      image^.filename:= shortstring(UserPathPrefix) + filename + '_land' + ext
-else image^.filename:= shortstring(UserPathPrefix) + filename + '_land' + ext;
+else image^.filename:= shortstring(UserPathPrefix) + filename + ext;
 
 if dump <> 0 then
     begin
--- a/hedgewars/uVisualGears.pas	Thu Dec 11 13:35:35 2014 +0100
+++ b/hedgewars/uVisualGears.pas	Thu Dec 11 07:52:51 2014 -0500
@@ -508,11 +508,11 @@
     vg:= VisualGearLayers[i];
     while vg <> nil do
         if vg^.Kind = vgtFlake then
-        begin
-        tmp:= vg^.NextGear;
-        DeleteVisualGear(vg);
-        vg:= tmp
-        end
+            begin
+            tmp:= vg^.NextGear;
+            DeleteVisualGear(vg);
+            vg:= tmp
+            end
         else vg:= vg^.NextGear;
     end;
 if hasBorder or (not cSnow) then