changeset 7293 | 468cf6d561e5 |
parent 7283 | 322ff9418461 |
child 7296 | fb5b7cb58a67 |
--- a/hedgewars/GSHandlers.inc Mon Jun 25 09:40:56 2012 -0400 +++ b/hedgewars/GSHandlers.inc Tue Jun 26 10:14:40 2012 -0400 @@ -4410,7 +4410,7 @@ ty := 0; // avoid compiler hints - if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y, x] > 255) then + if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y, x] and ($FF00 and not lfBouncy) <> 0) then begin Gear^.State := Gear^.State or gstCollision; Gear^.State := Gear^.State and (not gstMoving);