diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:03:44 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:12 +0200 |
commit | 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b (patch) | |
tree | acc6dab5d6894a949df3ab4d913ef72a1b1ebdca /src/item.cpp | |
parent | b499cf0c03f2589d36a1df14c81530347243940a (diff) | |
download | mana-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.gz mana-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.bz2 mana-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.xz mana-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.zip |
Moved Events to Mana::Event::Type
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 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); |