# HG changeset patch
# User sheepluva
# Date 1441853942 -7200
# Node ID 1fb80cd8ba7baee2a2ead728cfe4d15038daa5ba
# Parent  722567479fab6618af951a4125d645136eb93dff
small code cleanup

diff -r 722567479fab -r 1fb80cd8ba7b hedgewars/uCollisions.pas
--- a/hedgewars/uCollisions.pas	Fri Sep 04 08:14:12 2015 -0400
+++ b/hedgewars/uCollisions.pas	Thu Sep 10 04:59:02 2015 +0200
@@ -211,10 +211,15 @@
     i:= y + Gear^.Radius * 2 - 2;
     repeat
         if (y and LAND_HEIGHT_MASK) = 0 then
-            if Land[y, x] and Gear^.CollisionMask > 255 then
-                exit(Land[y, x] and Gear^.CollisionMask)
-            else if Land[y, x] and Gear^.CollisionMask <> 0 then
-                pixel:= Land[y, x] and Gear^.CollisionMask;
+            begin
+            if Land[y, x] and Gear^.CollisionMask <> 0 then
+                begin
+                if Land[y, x] and Gear^.CollisionMask > 255 then
+                    exit(Land[y, x] and Gear^.CollisionMask)
+                else
+                    pixel:= Land[y, x] and Gear^.CollisionMask;
+                end;
+            end;
     inc(y)
     until (y > i);
     end;
@@ -274,10 +279,12 @@
     repeat
     if (x and LAND_WIDTH_MASK) = 0 then
         if Land[y, x] > 0 then
+            begin
             if Land[y, x] and Gear^.CollisionMask > 255 then
                 exit(Land[y, x] and Gear^.CollisionMask)
-            else if Land[y, x] <> 0 then
+            else // if Land[y, x] <> 0 then
                 pixel:= Land[y, x] and Gear^.CollisionMask;
+            end;
     inc(x)
     until (x > i);
     end;
diff -r 722567479fab -r 1fb80cd8ba7b share/hedgewars/Data/Locale/en.txt
--- a/share/hedgewars/Data/Locale/en.txt	Fri Sep 04 08:14:12 2015 -0400
+++ b/share/hedgewars/Data/Locale/en.txt	Thu Sep 10 04:59:02 2015 +0200
@@ -103,7 +103,6 @@
 02:00=%1 has timed out!
 02:00=%1 says peace out!
 02:00=%1 will be fondly remembered!
-02:00=%1 has an aneurysm!
 02:00=%1 leaves behind a wife and child
 02:00=%1 has launched his last bazooka
 02:00=%1 has tossed his last grenade