From 36d28236321b6a2824ad4f394faeabbf79626808 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Tue, 31 Jul 2007 21:29:00 +0000 Subject: Removed legacy inventory code. Added display of equipment. --- src/net/skillhandler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/net/skillhandler.cpp') diff --git a/src/net/skillhandler.cpp b/src/net/skillhandler.cpp index 17dea606..50150ca8 100644 --- a/src/net/skillhandler.cpp +++ b/src/net/skillhandler.cpp @@ -34,8 +34,6 @@ SkillHandler::SkillHandler() { static const Uint16 _messages[] = { - SMSG_PLAYER_SKILLS, - SMSG_SKILL_FAILED, 0 }; handledMessages = _messages; @@ -43,10 +41,9 @@ SkillHandler::SkillHandler() void SkillHandler::handleMessage(MessageIn &msg) { - int skillCount; - switch (msg.getId()) { +#if 0 case SMSG_PLAYER_SKILLS: msg.readShort(); // length skillCount = (msg.getLength() - 4) / 37; @@ -91,5 +88,6 @@ void SkillHandler::handleMessage(MessageIn &msg) } chatWindow->chatLog(action); break; +#endif } } -- cgit v1.2.3-70-g09d2