hedgewars/GSHandlers.inc
changeset 7739 8d5d6b1be9ba
parent 7734 b0d8a595875b
child 7745 0326e1bf674d
--- a/hedgewars/GSHandlers.inc	Wed Oct 10 00:40:00 2012 +0400
+++ b/hedgewars/GSHandlers.inc	Wed Oct 10 00:14:01 2012 -0400
@@ -5351,7 +5351,7 @@
                 0:  begin 
                     flipSurface(surf, true);
                     flipSurface(surf, true);
-                    BlitImageAndGenerateCollisionInfo(gx-(w-tx), gy+(w-ty), w, surf)
+                    BlitImageAndGenerateCollisionInfo(gx-(w-tx), gy-(h-ty), w, surf)
                     end;
                 1:  begin
                     flipSurface(surf, false);
@@ -5362,7 +5362,7 @@
                     end;
                 3:  begin
                     flipSurface(surf, true);
-                    BlitImageAndGenerateCollisionInfo(gx-tx, gy+(w-ty), w, surf)
+                    BlitImageAndGenerateCollisionInfo(gx-tx, gy-(h-ty), w, surf)
                     end
                 end;
             SDL_FreeSurface(surf);