revert this until someone makes it not screw up camera focus
authornemo
Sun, 18 Mar 2012 00:30:56 -0400
changeset 6799 b45c38282566
parent 6798 4822b7d41aaa
child 6800 76f5af60b55b
revert this until someone makes it not screw up camera focus
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sun Mar 18 00:59:17 2012 +0100
+++ b/hedgewars/uWorld.pas	Sun Mar 18 00:30:56 2012 -0400
@@ -500,10 +500,14 @@
         AmmoRect.x:= (cScreenWidth shr 1) - AmmoRect.w - AMSlotSize;
         AmmoRect.y:= cScreenHeight - (AmmoRect.h + AMSlotSize);
 {$ENDIF}
+    AMShiftTargetX:= (cScreenWidth shr 1) - AmmoRect.x;
+    AMShiftTargetY:= cScreenHeight        - AmmoRect.y;
+(*
     if (AMAnimType and AMTypeMaskX) <> 0 then AMShiftTargetX:= (cScreenWidth shr 1) - AmmoRect.x
     else AMShiftTargetX:= 0;
     if (AMAnimType and AMTypeMaskY) <> 0 then AMShiftTargetY:= cScreenHeight        - AmmoRect.y
     else AMShiftTargetY:= 0;
+*)
     AMShiftX:= AMShiftTargetX;
     AMShiftY:= AMShiftTargetY;
 end;