diff options
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/item.cpp b/src/item.cpp index 3dff9228..821a178b 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -72,19 +72,19 @@ void Item::setId(int id) "unknown-item.png")); } -void Item::doEvent(Mana::Event::Type eventName) +void Item::doEvent(Event::Type eventName) { - Mana::Event event(eventName); + Event event(eventName); event.setItem("item", this); - event.trigger(Mana::Event::ItemChannel); + event.trigger(Event::ItemChannel); } -void Item::doEvent(Mana::Event::Type eventName, int amount) +void Item::doEvent(Event::Type eventName, int amount) { - Mana::Event event(eventName); + Event event(eventName); event.setItem("item", this); event.setInt("amount", amount); - event.trigger(Mana::Event::ItemChannel); + event.trigger(Event::ItemChannel); } bool Item::isEquippable() const |