diff --git a/src/engine/client/warning.cpp b/src/engine/client/warning.cpp index 0ed4a9daa..b15ed4c1f 100644 --- a/src/engine/client/warning.cpp +++ b/src/engine/client/warning.cpp @@ -4,7 +4,6 @@ SWarning::SWarning(const char *pMsg) { - str_copy(m_aWarningTitle, ""); str_copy(m_aWarningMsg, pMsg); } SWarning::SWarning(const char *pTitle, const char *pMsg) diff --git a/src/engine/warning.h b/src/engine/warning.h index bd1e45e75..4532a1035 100644 --- a/src/engine/warning.h +++ b/src/engine/warning.h @@ -7,8 +7,8 @@ struct SWarning SWarning(const char *pMsg); SWarning(const char *pTitle, const char *pMsg); - char m_aWarningTitle[128]; - char m_aWarningMsg[256]; + char m_aWarningTitle[128] = ""; + char m_aWarningMsg[256] = ""; bool m_WasShown = false; bool m_AutoHide = true; };