diff --git a/Utils/message.cpp b/Utils/message.cpp index 0b73c4614..f9e2a0537 100644 --- a/Utils/message.cpp +++ b/Utils/message.cpp @@ -610,7 +610,7 @@ void UnHideMessagesDuringNPCDialogue( void ) return; } -void ScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...) +void ScreenMsg( UINT16 usColor, UINT8 ubPriority, const CHAR16* pStringA, ...) { //__try //{ diff --git a/Utils/message.h b/Utils/message.h index d071fae60..3ed1568ad 100644 --- a/Utils/message.h +++ b/Utils/message.h @@ -55,7 +55,7 @@ extern BOOLEAN fDisableJustForIan; // are we allowed to beep on message scroll in tactical extern BOOLEAN fOkToBeepNewMessage; -void ScreenMsg( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...); +void ScreenMsg( UINT16 usColor, UINT8 ubPriority, const CHAR16* pStringA, ...); // same as screen message, but only display to mapscreen message system, not tactical void MapScreenMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...);