changeset 4838 | 6c2528fe925d |
parent 4806 | 48c1a395f0a7 |
child 4976 | 088d40d8aba2 |
--- a/hedgewars/VGSHandlers.inc Thu Jan 13 21:52:48 2011 +0300 +++ b/hedgewars/VGSHandlers.inc Thu Jan 13 16:01:16 2011 -0500 @@ -672,8 +672,8 @@ else dec(tmp); if tmp < round(dX) then tdY:= 1; if tmp > round(dY) then tdY:= -1; - if tmp > 255 then tmp := 255; - if tmp < 0 then tmp := 0; + if tmp > 255 then tmp := 255; + if tmp < 0 then tmp := 0; Gear^.Tint:= (Gear^.Tint and $FFFFFF00) or tmp end end