--- a/hedgewars/uGearsHedgehog.pas Sat Oct 25 10:42:30 2014 -0400
+++ b/hedgewars/uGearsHedgehog.pas Sat Oct 25 11:29:45 2014 -0400
@@ -118,13 +118,6 @@
end;
if ammoidx >= 0 then
CurAmmoType:= Ammo^[slot, ammoidx].AmmoType;
- if (prevAmmo <> CurAmmoType) then
- begin
- if CurAmmoType = amKnife then
- LoadHedgehogHat(HHGear^.Hedgehog^, 'Reserved/chef')
- else if prevAmmo = amKnife then
- LoadHedgehogHat(HHGear^.Hedgehog^, Hat);
- end;
// Try again in the next slot
if (CurAmmoType = prevAmmo) and (slot < cMaxSlotIndex) then
begin