# HG changeset patch # User antonc27 # Date 1444942112 -7200 # Node ID 1fa57188a4699a9fca655d10f3a9f7fdbc5df467 # Parent 22f2e072d31e38ec5a9442f7123ee6467b1f51d7 - Workaround for wrong sprite in utility widget when selecting DrillStrike Note: It is better to extend utilityWidget to handle >=2 sprites/actions diff -r 22f2e072d31e -r 1fa57188a469 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Thu Oct 15 21:58:30 2015 +0200 +++ b/hedgewars/uWorld.pas Thu Oct 15 22:48:32 2015 +0200 @@ -1930,7 +1930,7 @@ ammoType:= CurrentHedgehog^.CurAmmoType; if(CurrentHedgehog <> nil)then - if (Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0 then + if ((Ammoz[ammoType].Ammo.Propz and ammoprop_Timerable) <> 0) and (ammoType <> amDrillStrike) then begin utilityWidget.sprite:= sprTimerButton; animateWidget(@utilityWidget, true, true);