ddnet/src/engine/warning.h
2020-10-02 16:06:16 +02:00

18 lines
273 B
C

#ifndef ENGINE_WARNING_H
#define ENGINE_WARNING_H
struct SWarning
{
SWarning() :
m_WasShown(false) {}
SWarning(const char *pMsg) :
m_WasShown(false)
{
str_copy(m_aWarningMsg, pMsg, sizeof(m_aWarningMsg));
}
char m_aWarningMsg[128];
bool m_WasShown;
};
#endif