| 806 | void AIUnit::CheckIfAliveInTransport() |
| 807 | { |
| 808 | if (GetLifeState() == AIUnit::LSAlive) |
| 809 | { |
| 810 | return; |
| 811 | } |
| 812 | Transport* veh = GetVehicleIn(); |
| 813 | if (!veh) |
| 814 | { |
| 815 | return; |
| 816 | } |
| 817 | AIGroup* grp = GetGroup(); |
| 818 | if (!grp) |
| 819 | { |
| 820 | return; |
| 821 | } |
| 822 | grp->SendIsDown(veh, this); |
| 823 | } |
| 824 | |
| 825 | bool AIUnit::ProcessGetOut(bool parachute) |
| 826 | { |
| 827 | if (!IsLocal()) |
| 828 | { |
no test coverage detected