hedgewars/uWorld.pas
changeset 7086 e99944b25764
parent 7069 bcf9d8e64e92
child 7108 eaef11c0d039
child 7167 0b3b306f129a
equal deleted inserted replaced
7085:953a9d896df1 7086:e99944b25764
  1751 else UndampenAudio();
  1751 else UndampenAudio();
  1752 end;
  1752 end;
  1753 
  1753 
  1754 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  1754 procedure SetUtilityWidgetState(ammoType: TAmmoType);
  1755 begin
  1755 begin
  1756 {$IFDEF TOUCH_INTERFACE}
  1756 {$IFDEF USE_TOUCH_INTERFACE}
  1757 if(ammoType = amNothing)then
  1757 if(ammoType = amNothing)then
  1758     ammoType:= CurrentHedgehog^.CurAmmoType;
  1758     ammoType:= CurrentHedgehog^.CurAmmoType;
  1759 
  1759 
  1760 if(CurrentHedgehog <> nil)then
  1760 if(CurrentHedgehog <> nil)then
  1761     if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then
  1761     if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then