mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-19 07:18:19 +00:00
0512e65dbe
For some warnings a random title instead of the default title was shown because it was not initialized.
17 lines
297 B
C
17 lines
297 B
C
#ifndef ENGINE_WARNING_H
|
|
#define ENGINE_WARNING_H
|
|
|
|
struct SWarning
|
|
{
|
|
SWarning() = default;
|
|
SWarning(const char *pMsg);
|
|
SWarning(const char *pTitle, const char *pMsg);
|
|
|
|
char m_aWarningTitle[128] = "";
|
|
char m_aWarningMsg[256] = "";
|
|
bool m_WasShown = false;
|
|
bool m_AutoHide = true;
|
|
};
|
|
|
|
#endif
|