VerifyPilotData Call this function to check the data that is in the given pilot struct...it will verify that all files listed are available, if they are not, then it will set them to defaults. Returns true if it had to fix the data (you may want to save the pilot immediatly)
| 745 | // listed are available, if they are not, then it will set them to defaults. Returns true if it had to |
| 746 | // fix the data (you may want to save the pilot immediatly) |
| 747 | bool VerifyPilotData(pilot *Pilot) { |
| 748 | if (!Pilot) { |
| 749 | Int3(); |
| 750 | return false; |
| 751 | } |
| 752 | Pilot->verify(); |
| 753 | return false; |
| 754 | } |
| 755 | |
| 756 | /* |
| 757 | *********************************************************** |