Changed the draw phase of text messages to a more appropriate phase.

This commit is contained in:
Jason Watkins
2015-04-07 16:26:31 -07:00
parent 8445c60e00
commit 1fb7a81336
3 changed files with 1 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ void XPCClearMessage()
msgVal = NULL;
if (msgEnabled)
{
XPLMUnregisterDrawCallback(MessageDrawCallback, xplm_Phase_LastCockpit, 0, NULL);
XPLMUnregisterDrawCallback(MessageDrawCallback, xplm_Phase_Window, 0, NULL);
msgEnabled = 0;
}
}