diff --git a/regamedll/dlls/hintmessage.cpp b/regamedll/dlls/hintmessage.cpp index 71f47d912..e3c2261d0 100644 --- a/regamedll/dlls/hintmessage.cpp +++ b/regamedll/dlls/hintmessage.cpp @@ -2,7 +2,7 @@ CHintMessage::CHintMessage(const char *hintString, bool isHint, CUtlVector *args, float duration) { - m_hintString = hintString; + m_hintString = CloneString(hintString); m_duration = duration; m_isHint = isHint; @@ -16,6 +16,12 @@ CHintMessage::CHintMessage(const char *hintString, bool isHint, CUtlVector m_args; float m_duration;