hedgewars/uWorld.pas
changeset 7108 eaef11c0d039
parent 7082 17b0892ac794
parent 7086 e99944b25764
child 7186 013deb83086b
equal deleted inserted replaced
7084:a471de309dcc 7108:eaef11c0d039
  1743 else UndampenAudio();
  1743 else UndampenAudio();
  1744 end;
  1744 end;
  1745 
  1745 
  1746 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  1746 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  1747 begin
  1747 begin
  1748 {$IFDEF TOUCH_INTERFACE}
  1748 {$IFDEF USE_TOUCH_INTERFACE}
  1749 if(ammoType = amNothing)then
  1749 if(ammoType = amNothing)then
  1750     ammoType:= CurrentHedgehog^.CurAmmoType;
  1750     ammoType:= CurrentHedgehog^.CurAmmoType;
  1751 
  1751 
  1752 if(CurrentHedgehog <> nil)then
  1752 if(CurrentHedgehog <> nil)then
  1753     if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then
  1753     if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then