equal
deleted
inserted
replaced
727 animateWidget(@arrowUp, true, false); |
727 animateWidget(@arrowUp, true, false); |
728 animateWidget(@arrowDown, true, false); |
728 animateWidget(@arrowDown, true, false); |
729 end; |
729 end; |
730 if (Ammo^[Slot, Pos].Propz and ammoprop_Timerable) <> 0 then |
730 if (Ammo^[Slot, Pos].Propz and ammoprop_Timerable) <> 0 then |
731 begin |
731 begin |
732 if not utilityWidget.show then |
732 utilityWidget.sprite:= sprTimerButton; |
733 animateWidget(@utilityWidget, true, true); |
733 animateWidget(@utilityWidget, true, true); |
|
734 end |
|
735 else if (Ammo^[Slot, Pos].Propz and ammoprop_NeedTarget) <> 0 then |
|
736 begin |
|
737 utilityWidget.sprite:= sprTargetButton; |
|
738 animateWidget(@utilityWidget, true, true); |
734 end |
739 end |
735 else |
740 else if utilityWidget.show then |
736 if utilityWidget.show then |
741 animateWidget(@utilityWidget, true, false); |
737 animateWidget(@utilityWidget, true, false); |
|
738 {$ENDIF} |
742 {$ENDIF} |
739 |
743 |
740 exit |
744 exit |
741 end; |
745 end; |
742 end |
746 end |