equal
deleted
inserted
replaced
750 newCI:= (newHog^.Gear <> nil) and (newHog^.Gear^.CollisionIndex >= 0); |
750 newCI:= (newHog^.Gear <> nil) and (newHog^.Gear^.CollisionIndex >= 0); |
751 if oldCI then DeleteCI(CurrentHedgehog^.Gear); |
751 if oldCI then DeleteCI(CurrentHedgehog^.Gear); |
752 if newCI then DeleteCI(newHog^.Gear); |
752 if newCI then DeleteCI(newHog^.Gear); |
753 oldHH:= CurrentHedgehog; |
753 oldHH:= CurrentHedgehog; |
754 CurrentHedgehog:= newHog; |
754 CurrentHedgehog:= newHog; |
755 if (CurrentHedgehog <> nil) and (CurrentHedgehog^.CurAmmoType = amKnife) then |
|
756 LoadHedgehogHat(CurrentHedgehog^, 'Reserved/chef'); |
|
757 if oldCI then AddCI(oldHH^.Gear); |
755 if oldCI then AddCI(oldHH^.Gear); |
758 if newCI then AddCI(newHog^.Gear) |
756 if newCI then AddCI(newHog^.Gear) |
759 end; |
757 end; |
760 |
758 |
761 |
759 |