equal
deleted
inserted
replaced
1763 else if (Ammoz[ammoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
1763 else if (Ammoz[ammoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
1764 begin |
1764 begin |
1765 utilityWidget.sprite:= sprTargetButton; |
1765 utilityWidget.sprite:= sprTargetButton; |
1766 animateWidget(@utilityWidget, true, true); |
1766 animateWidget(@utilityWidget, true, true); |
1767 end |
1767 end |
|
1768 else if ammoType = amSwitch then |
|
1769 begin |
|
1770 utilityWidget.sprite:= sprTargetButton; |
|
1771 animateWidget(@utilityWidget, true, true); |
|
1772 end |
1768 else if utilityWidget.show then |
1773 else if utilityWidget.show then |
1769 animateWidget(@utilityWidget, true, false); |
1774 animateWidget(@utilityWidget, true, false); |
1770 end; |
1775 end; |
1771 |
1776 |
1772 procedure animateWidget(widget: POnScreenWidget; fade, showWidget: boolean); |
1777 procedure animateWidget(widget: POnScreenWidget; fade, showWidget: boolean); |