summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-24 23:29:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-24 23:29:04 +0300
commit4e97da8e138b21a5f5bea75e6a8d3211e4f28594 (patch)
treec10d3cad963066a908ebd42041723e110a0c9bf0 /src/actormanager.h
parentca0ca278d0c4aed9a6d50bb9a8982f5261151ab8 (diff)
downloadmanaplus-4e97da8e138b21a5f5bea75e6a8d3211e4f28594.tar.gz
manaplus-4e97da8e138b21a5f5bea75e6a8d3211e4f28594.tar.bz2
manaplus-4e97da8e138b21a5f5bea75e6a8d3211e4f28594.tar.xz
manaplus-4e97da8e138b21a5f5bea75e6a8d3211e4f28594.zip
Add enum for item types.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index eac773fe8..9c6672bbf 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -25,6 +25,8 @@
#include "enums/being/actortype.h"
+#include "enums/resources/itemtype.h"
+
#include "enums/simpletypes/allowsort.h"
#include "enums/simpletypes/allplayers.h"
#include "enums/simpletypes/beingid.h"
@@ -98,7 +100,7 @@ class ActorManager final: public ConfigListener
FloorItem *createItem(const BeingId id,
const int itemId,
const int x, const int y,
- const int itemType,
+ const ItemTypeT itemType,
const int amount,
const int refine,
const ItemColor color,