I'm trying to use a sub-scope in my vessel's clbkLoadSaveStateEx ().
I can write the scope to the scenario fine but i'm having trouble reading it. Specifically my while loop fails to terminate at the end of the scope.
This is the code.
What did i screw-up this time?
Note:
I've also tried "while (cbuf != "END COCKPIT")" and various permutations there of
I can write the scope to the scenario fine but i'm having trouble reading it. Specifically my while loop fails to terminate at the end of the scope.
This is the code.
Code:
// Read cockpit parameters
if (!_strnicmp (cbuf, "COCKPIT", 7))
{
while (!_strnicmp (cbuf, "END COCKPIT", 11) == false) cockpit->ParseScenarioLine (cbuf);
}
What did i screw-up this time?
Note:
I've also tried "while (cbuf != "END COCKPIT")" and various permutations there of
Last edited: