authornemo
Tue, 07 May 2013 15:34:36 -0400
changeset 8964 962ede906da1
parent 8963 1a8335f0d968
child 8965 b4f10ff6ea90
hedgewars/uAIMisc.pas
--- a/hedgewars/uAIMisc.pas	Tue May 07 14:59:30 2013 -0400
+++ b/hedgewars/uAIMisc.pas	Tue May 07 15:34:36 2013 -0400
@@ -410,7 +410,7 @@
                     end;
             exit(0)
             end;
-        if (y > cWaterLine) or (x > leftX) or (x < rightX) then exit(-1)
+        if (y > cWaterLine) or (x > rightX) or (x < leftX) then exit(-1)
         end
 end;
 
@@ -463,7 +463,7 @@
                     end;
             exit(0)
         end;
-        if (y > cWaterLine) or (x > leftX) or (x < rightX) then
+        if (y > cWaterLine) or (x > rightX) or (x < leftX) then
             // returning -1 for drowning so it can be considered in the Rate routine
             exit(-1)
     end;