summaryrefslogtreecommitdiff
path: root/src/gui/mailmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/mailmessage.h')
-rw-r--r--src/gui/mailmessage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h
index c4e61b49b..099cc2e34 100644
--- a/src/gui/mailmessage.h
+++ b/src/gui/mailmessage.h
@@ -21,6 +21,8 @@
#ifndef GUI_MAILMESSAGE_H
#define GUI_MAILMESSAGE_H
+#include "const/resources/item/cards.h"
+
#include <string>
#include "localconsts.h"
@@ -53,7 +55,7 @@ struct MailMessage final
std::string sender;
std::string strTime;
std::string text;
- uint16_t card[4];
+ uint16_t card[maxMailCards];
int id;
int time;
int money;