hedgewars/CCHandlers.inc
changeset 2205 e8573a7cab06
parent 2171 8208946331ba
child 2240 7ce9e6b7be3b
--- a/hedgewars/CCHandlers.inc	Sun Jun 28 18:47:55 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Sun Jun 28 18:51:54 2009 +0000
@@ -478,6 +478,7 @@
 			  {$ELSE}
 			  SDL_GetMouseState(@TargetPoint.X, @TargetPoint.Y);
 			  {$ENDIF}
+			  dec(TargetPoint.X, cScreenWidth div 2);
               dec(TargetPoint.X, WorldDx);
               dec(TargetPoint.Y, WorldDy)
               end;