* Aim. (shows the right hand sprite and weapon holding) * @param aiming true/false */
| 774 | * @param aiming true/false |
| 775 | */ |
| 776 | void BattleUnit::aim(bool aiming) |
| 777 | { |
| 778 | if (aiming) |
| 779 | _status = STATUS_AIMING; |
| 780 | else |
| 781 | _status = STATUS_STANDING; |
| 782 | |
| 783 | if (_visible || _faction == FACTION_PLAYER) |
| 784 | _cacheInvalid = true; |
| 785 | } |
| 786 | |
| 787 | /** |
| 788 | * Returns the direction from this unit to a given point. |
no outgoing calls
no test coverage detected