diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:11:54 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:12 +0200 |
commit | 1e1f619b9ae5aa26058c499c988f45d1fb1b6d53 (patch) | |
tree | 1fe58c53388054ced122b5327e33fc2851a0606a /src/item.cpp | |
parent | 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b (diff) | |
download | mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.gz mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.bz2 mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.xz mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.zip |
Moved Channels to Mana::Event::Channel
Acked-by: Jared Adams
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.cpp b/src/item.cpp index 2043038b..3dff9228 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -76,7 +76,7 @@ void Item::doEvent(Mana::Event::Type eventName) { Mana::Event event(eventName); event.setItem("item", this); - event.trigger(CHANNEL_ITEM); + event.trigger(Mana::Event::ItemChannel); } void Item::doEvent(Mana::Event::Type eventName, int amount) @@ -84,7 +84,7 @@ void Item::doEvent(Mana::Event::Type eventName, int amount) Mana::Event event(eventName); event.setItem("item", this); event.setInt("amount", amount); - event.trigger(CHANNEL_ITEM); + event.trigger(Mana::Event::ItemChannel); } bool Item::isEquippable() const |