MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / VerifyPilotData

Function VerifyPilotData

Descent3/pilot.cpp:747–754  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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)
747bool VerifyPilotData(pilot *Pilot) {
748 if (!Pilot) {
749 Int3();
750 return false;
751 }
752 Pilot->verify();
753 return false;
754}
755
756/*
757***********************************************************

Callers 1

PilotSelectFunction · 0.85

Calls 1

verifyMethod · 0.80

Tested by

no test coverage detected