From 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 9 Apr 2011 00:03:44 +0200 Subject: Moved Events to Mana::Event::Type Acked-by: Jared Adams --- src/itemshortcut.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/itemshortcut.cpp') diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index 0e5abef8..51bd6b21 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -74,13 +74,13 @@ void ItemShortcut::useItem(int index) if (item->getInfo().getEquippable()) { if (item->isEquipped()) - item->doEvent(EVENT_DOUNEQUIP); + item->doEvent(Mana::Event::DoUnequip); else - item->doEvent(EVENT_DOEQUIP); + item->doEvent(Mana::Event::DoEquip); } else { - item->doEvent(EVENT_DOUSE); + item->doEvent(Mana::Event::DoUse); } } } -- cgit v1.2.3-60-g2f50