hedgewars/uWorld.pas
branchios-revival
changeset 11211 1fa57188a469
parent 11210 22f2e072d31e
child 11317 62287d4044e7
equal deleted inserted replaced
11210:22f2e072d31e 11211:1fa57188a469
  1928 {$IFDEF USE_TOUCH_INTERFACE}
  1928 {$IFDEF USE_TOUCH_INTERFACE}
  1929 if(ammoType = amNothing)then
  1929 if(ammoType = amNothing)then
  1930     ammoType:= CurrentHedgehog^.CurAmmoType;
  1930     ammoType:= CurrentHedgehog^.CurAmmoType;
  1931 
  1931 
  1932 if(CurrentHedgehog <> nil)then
  1932 if(CurrentHedgehog <> nil)then
  1933     if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then
  1933     if ((Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0) and (ammoType <> amDrillStrike) then
  1934         begin
  1934         begin
  1935         utilityWidget.sprite:= sprTimerButton;
  1935         utilityWidget.sprite:= sprTimerButton;
  1936         animateWidget(@utilityWidget, true, true);
  1936         animateWidget(@utilityWidget, true, true);
  1937         end
  1937         end
  1938     else if (Ammoz[ammoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then
  1938     else if (Ammoz[ammoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then