author | unc0rr |
Sun, 28 Jun 2009 18:51:54 +0000 | |
changeset 2205 | e8573a7cab06 |
parent 2204 | 526f8165acce |
child 2206 | 067c954f09ef |
--- 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;