summaryrefslogtreecommitdiff
path: root/src/net/skillhandler.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-31 21:29:00 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-31 21:29:00 +0000
commit36d28236321b6a2824ad4f394faeabbf79626808 (patch)
tree7d2475acf84852f2a21cc29eecbf7524cd58ff52 /src/net/skillhandler.cpp
parentc9f930c759004e179545c3b82992e3f8a12345f2 (diff)
downloadmana-client-36d28236321b6a2824ad4f394faeabbf79626808.tar.gz
mana-client-36d28236321b6a2824ad4f394faeabbf79626808.tar.bz2
mana-client-36d28236321b6a2824ad4f394faeabbf79626808.tar.xz
mana-client-36d28236321b6a2824ad4f394faeabbf79626808.zip
Removed legacy inventory code. Added display of equipment.
Diffstat (limited to 'src/net/skillhandler.cpp')
-rw-r--r--src/net/skillhandler.cpp6
1 files changed, 2 insertions, 4 deletions
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
}
}