changeset 9041 | aefe46d64dd9 |
parent 8992 | 5b0be812dcdb |
child 9064 | 041d9f5e7b2c |
--- a/hedgewars/uGearsHedgehog.pas Tue May 21 23:49:24 2013 +0200 +++ b/hedgewars/uGearsHedgehog.pas Tue May 21 22:56:31 2013 -0400 @@ -1079,7 +1079,7 @@ HHGear^.Message:= HHGear^.Message or gmAttack; // check for case with ammo t:= CheckGearNear(HHGear, gtCase, 36, 36); - if t <> nil then + if (t <> nil) and (t^.State and gstFrozen = 0) then PickUp(HHGear, t) end;