hedgewars/CCHandlers.inc
changeset 4241 835fd7a0e1bf
parent 4210 caa9b08990eb
child 4362 8dae325dc625
child 4365 4f2b1a152979
equal deleted inserted replaced
4240:4e81670e52aa 4241:835fd7a0e1bf
   684             begin
   684             begin
   685             bSelected:= false;
   685             bSelected:= false;
   686 
   686 
   687             if bShowAmmoMenu then bShowAmmoMenu:= false
   687             if bShowAmmoMenu then bShowAmmoMenu:= false
   688             else if ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) or 
   688             else if ((Gear^.State and (gstAttacking or gstAttacked)) <> 0) or 
   689                     ((MultiShootAttacks > 0) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0)) or
   689                     ((MultiShootAttacks > 0) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEnd) = 0)) or
   690                     ((Gear^.State and gstHHDriven) = 0) then else bShowAmmoMenu:= true
   690                     ((Gear^.State and gstHHDriven) = 0) then else bShowAmmoMenu:= true
   691             end;
   691             end;
   692     if ReadyTimeLeft > 1 then ReadyTimeLeft:= 1
   692     if ReadyTimeLeft > 1 then ReadyTimeLeft:= 1
   693     end
   693     end
   694 end;
   694 end;