///////////////////////////////////////// writes a pilot out to file make sure Pilot->filename and Pilot->name are filled in correctly!!!!
| 1754 | // writes a pilot out to file |
| 1755 | // make sure Pilot->filename and Pilot->name are filled in correctly!!!! |
| 1756 | int PltWriteFile(pilot *Pilot, bool newpilot) { |
| 1757 | if (Dedicated_server) |
| 1758 | return PLTW_NO_ERROR; |
| 1759 | |
| 1760 | Pilot->write(); |
| 1761 | return Pilot->flush(newpilot); |
| 1762 | } |
| 1763 | |
| 1764 | //////////////////////////////////////////////////// |
| 1765 | // reads in a pilot file (fill in pilot name to read in the struct before calling) |
no test coverage detected