equal
deleted
inserted
replaced
1008 var t: PGear; |
1008 var t: PGear; |
1009 wasJumping: boolean; |
1009 wasJumping: boolean; |
1010 Hedgehog: PHedgehog; |
1010 Hedgehog: PHedgehog; |
1011 begin |
1011 begin |
1012 Hedgehog:= HHGear^.Hedgehog; |
1012 Hedgehog:= HHGear^.Hedgehog; |
1013 //if isInMultiShoot and not AllInactive and (Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]) then HHGear^.Message:= HHGear^.Message and not gmAttack; |
1013 if not isInMultiShoot then |
1014 if isInMultiShoot and (Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]) then |
1014 AllInactive:= false |
1015 begin |
1015 else if Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle] then |
1016 AllInactive:= true; |
1016 HHGear^.Message:= 0; |
1017 HHGear^.Message:= 0 |
|
1018 end |
|
1019 else AllInactive:= false; |
|
1020 |
1017 |
1021 if (TurnTimeLeft = 0) or (HHGear^.Damage > 0) then |
1018 if (TurnTimeLeft = 0) or (HHGear^.Damage > 0) then |
1022 begin |
1019 begin |
1023 if (Hedgehog^.CurAmmoType = amKnife) then |
1020 if (Hedgehog^.CurAmmoType = amKnife) then |
1024 LoadHedgehogHat(Hedgehog^, Hedgehog^.Hat); |
1021 LoadHedgehogHat(Hedgehog^, Hedgehog^.Hat); |