summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.cpp b/src/item.cpp
index fee7e86f..2043038b 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -72,14 +72,14 @@ void Item::setId(int id)
"unknown-item.png"));
}
-void Item::doEvent(Events eventName)
+void Item::doEvent(Mana::Event::Type eventName)
{
Mana::Event event(eventName);
event.setItem("item", this);
event.trigger(CHANNEL_ITEM);
}
-void Item::doEvent(Events eventName, int amount)
+void Item::doEvent(Mana::Event::Type eventName, int amount)
{
Mana::Event event(eventName);
event.setItem("item", this);