summaryrefslogtreecommitdiff
path: root/src/gui/windows/questswindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 17:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 17:45:52 +0300
commit2d32dc27210d16102f9200de115f2c3f79a5cb22 (patch)
tree5aa84ebe6c5c1d708b14bee2bf0ce95df714fc1d /src/gui/windows/questswindow.h
parent7bdb50605562e47f1d6ae134881c09bd42293be5 (diff)
downloadplus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.gz
plus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.bz2
plus-2d32dc27210d16102f9200de115f2c3f79a5cb22.tar.xz
plus-2d32dc27210d16102f9200de115f2c3f79a5cb22.zip
Use BeingTypeId in Being for subtypeid.
Diffstat (limited to 'src/gui/windows/questswindow.h')
-rw-r--r--src/gui/windows/questswindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.h b/src/gui/windows/questswindow.h
index 927b32540..0430569a3 100644
--- a/src/gui/windows/questswindow.h
+++ b/src/gui/windows/questswindow.h
@@ -23,6 +23,8 @@
#include "localconsts.h"
+#include "enums/simpletypes/beingtypeid.h"
+
#include "gui/widgets/window.h"
#include "utils/xml.h"
@@ -41,7 +43,7 @@ class QuestsModel;
struct QuestEffect;
struct QuestItem;
-typedef std::map<int, const QuestEffect*> NpcQuestEffectMap;
+typedef std::map<BeingTypeId, const QuestEffect*> NpcQuestEffectMap;
typedef NpcQuestEffectMap::const_iterator NpcQuestEffectMapCIter;
class QuestsWindow final : public Window,