summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 00:40:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 00:41:49 +0300
commit09970dfce38b0e8910b84743d62c7f66f59e2e1b (patch)
tree4955ba789b6e3f40e5e3133aabe18133a6f03bb6 /src/resources
parentb9df78a88b4294cdaabd665dd4d88425aaaec3e9 (diff)
downloadmanaverse-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.gz
manaverse-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.bz2
manaverse-09970dfce38b0e8910b84743d62c7f66f59e2e1b.tar.xz
manaverse-09970dfce38b0e8910b84743d62c7f66f59e2e1b.zip
Convert questtype enum into strong typed enum.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/questitemtext.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/questitemtext.h b/src/resources/questitemtext.h
index 306fe27b8..01d6706ea 100644
--- a/src/resources/questitemtext.h
+++ b/src/resources/questitemtext.h
@@ -21,19 +21,21 @@
#ifndef RESOURCES_QUESTITEMTEXT_H
#define RESOURCES_QUESTITEMTEXT_H
+#include "enums/resources/questtype.h"
+
#include <string>
#include "localconsts.h"
struct QuestItemText final
{
- QuestItemText(const std::string &text0, const int type0) :
+ QuestItemText(const std::string &text0, const QuestTypeT type0) :
text(text0), type(type0)
{
}
std::string text;
- int type;
+ QuestTypeT type;
};
#endif // RESOURCES_QUESTITEMTEXT_H