| 1648 | } |
| 1649 | |
| 1650 | int GetPilotNumRestoredGamesForMission(pilot *Pilot, const char *mission_name) { |
| 1651 | ASSERT(Pilot); |
| 1652 | if (!Pilot) |
| 1653 | return 0; |
| 1654 | |
| 1655 | int index = Pilot->find_mission_data((char *)mission_name); |
| 1656 | if (index == -1) |
| 1657 | return 0; |
| 1658 | |
| 1659 | tMissionData data; |
| 1660 | Pilot->get_mission_data(index, &data); |
| 1661 | return data.num_restores; |
| 1662 | } |
| 1663 | |
| 1664 | void IncrementPilotSavedGamesForMission(pilot *Pilot, const char *mission_name) { |
| 1665 | ASSERT(Pilot); |
nothing calls this directly
no test coverage detected