# HG changeset patch # User koda # Date 1256074835 0 # Node ID 349b4c586ef519c243eaf77e6678aab91a09d433 # Parent 7093e34135947e13f0125edba6d12894dd184dac evil math strikes again diff -r 7093e3413594 -r 349b4c586ef5 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Tue Oct 20 21:23:22 2009 +0000 +++ b/hedgewars/uWorld.pas Tue Oct 20 21:40:35 2009 +0000 @@ -534,7 +534,7 @@ r.y:= 0; r.w:= WindBarWidth; r.h:= 13; - DrawSpriteFromRect(sprWindR, r, (cScreenWidth shr 1) - 103, cScreenHeight - offset - 2, 13, 0); + DrawSpriteFromRect(sprWindR, r, (cScreenWidth shr 1) - 103, cScreenHeight - offset + 2, 13, 0); end else if WindBarWidth < 0 then begin @@ -544,7 +544,7 @@ r.y:= 0; r.w:= - WindBarWidth; r.h:= 13; - DrawSpriteFromRect(sprWindL, r, (cScreenWidth shr 1) - 106 + WindBarWidth, cScreenHeight - offset - 2, 13, 0); + DrawSpriteFromRect(sprWindL, r, (cScreenWidth shr 1) - 106 + WindBarWidth, cScreenHeight - offset + 2, 13, 0); end; // AmmoMenu