no. still doesn't work right
authornemo
Wed, 10 Oct 2012 00:14:01 -0400
changeset 7739 8d5d6b1be9ba
parent 7738 abcc7012de0b
child 7740 076f57836ee3
no. still doesn't work right
hedgewars/GSHandlers.inc
--- 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);