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 a2a1d443..7357d35f 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -76,7 +76,7 @@ void Item::doEvent(const std::string &eventName)
{
Mana::Event event(eventName);
event.setItem("item", this);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
}
void Item::doEvent(const std::string &eventName, int amount)
@@ -84,7 +84,7 @@ void Item::doEvent(const std::string &eventName, int amount)
Mana::Event event(eventName);
event.setItem("item", this);
event.setInt("amount", amount);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
}
bool Item::isEquippable() const