* Checks if this unit has an inventory. Large units and/or * terror units don't have inventories. * @return True if an inventory is available, false otherwise. */
| 2650 | * @return True if an inventory is available, false otherwise. |
| 2651 | */ |
| 2652 | bool BattleUnit::hasInventory() const |
| 2653 | { |
| 2654 | return (_armor->getSize() == 1 && _rank != "STR_LIVE_TERRORIST"); |
| 2655 | } |
| 2656 | |
| 2657 | } |
no test coverage detected