| 9769 | } |
| 9770 | |
| 9771 | void cFodder::Mission_Set_Initial_Weapon() { |
| 9772 | |
| 9773 | // segra: I don't believe this condition can ever occur |
| 9774 | if (mSquad_CurrentWeapon[mGUI_Loop_Squad_Current] == eWeapon_Grenade) { |
| 9775 | |
| 9776 | if (mSquad_Grenades[mGUI_Loop_Squad_Current]) |
| 9777 | return; |
| 9778 | if (!mSquad_Rockets[mGUI_Loop_Squad_Current]) |
| 9779 | return; |
| 9780 | |
| 9781 | mSquad_CurrentWeapon[mGUI_Loop_Squad_Current] = eWeapon_Rocket; |
| 9782 | return; |
| 9783 | } |
| 9784 | |
| 9785 | //loc_2EFF1 |
| 9786 | if (mSquad_Rockets[mGUI_Loop_Squad_Current]) |
| 9787 | return; |
| 9788 | |
| 9789 | if (!mSquad_Grenades[mGUI_Loop_Squad_Current]) |
| 9790 | return; |
| 9791 | |
| 9792 | mSquad_CurrentWeapon[mGUI_Loop_Squad_Current] = eWeapon_Grenade; |
| 9793 | } |
| 9794 | |
| 9795 | void cFodder::Service_Show() { |
| 9796 | if (mParams->mSkipService) |
nothing calls this directly
no outgoing calls
no test coverage detected