Potential error in MQ's Location routine...
Posted: Thu Apr 24, 2003 7:05 pm
Greetings Constructs,
I have found what appears to be an error in the Location function in EQLib.cpp. The X and Y coordinates are transposed.
The line is question is:
I believe it should be:
End of line...
I have found what appears to be an error in the Location function in EQLib.cpp. The X and Y coordinates are transposed.
The line is question is:
Code: Select all
sprintf(szMsg,"Your Location is %3.2f, %3.2f, %3.2f, and are heading %s.", pChar->Y, pChar->X, pChar->Z, szHeading[Angle]);Code: Select all
sprintf(szMsg,"Your Location is %3.2f, %3.2f, %3.2f, and are heading %s.", pChar->X, pChar->Y, pChar->Z, szHeading[Angle]);