From a4640305fd0d88c6332112712aa69e496368e01b Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Thu, 11 Nov 2010 23:12:29 -0500 Subject: Replace Event names with enums instead of strings --- src/net/tmwa/tradehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/tradehandler.cpp') diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index c8615485..034b959d 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -191,7 +191,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg) // Successfully added item if (item->isEquippable() && item->isEquipped()) { - item->doEvent("doUnequip"); + item->doEvent(EVENT_DOUNEQUIP); } tradeWindow->addItem(item->getId(), true, quantity); -- cgit v1.2.3-70-g09d2