diff options
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 3d389374..8ff638c2 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -269,13 +269,13 @@ void PopupMenu::handleLink(const std::string &link) if (mItem->isEquippable()) { if (mItem->isEquipped()) - mItem->doEvent("doUnequip"); + mItem->doEvent(EVENT_DOUNEQUIP); else - mItem->doEvent("doEquip"); + mItem->doEvent(EVENT_DOEQUIP); } else { - mItem->doEvent("doUse"); + mItem->doEvent(EVENT_DOUSE); } } else if (link == "chat") |