summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:44:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 00:51:30 +0200
commitaefbc69aac9f7c793725153eefce2631555bfd1f (patch)
treedc43d7d5cb5cf84373ee43a02998349d1deb3e0c /src/net
parent3b229e19c2b7545a71a066383872acd5d9348e41 (diff)
downloadmana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.gz
mana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.bz2
mana-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.xz
mana-aefbc69aac9f7c793725153eefce2631555bfd1f.zip
Associated setup tab name with the tab itself
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/charserverhandler.cpp2
-rw-r--r--src/net/ea/generalhandler.cpp1
-rw-r--r--src/net/ea/maphandler.cpp1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 0fcc2cb0..2973fc4c 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -61,7 +61,7 @@ CharServerHandler::CharServerHandler():
void CharServerHandler::handleMessage(MessageIn &msg)
{
- int slot, flags, code;
+ int slot, flags;
LocalPlayer *tempPlayer;
logger->log("CharServerHandler: Packet ID: %x, Length: %d",
diff --git a/src/net/ea/generalhandler.cpp b/src/net/ea/generalhandler.cpp
index 5d204ab5..e0974e63 100644
--- a/src/net/ea/generalhandler.cpp
+++ b/src/net/ea/generalhandler.cpp
@@ -85,7 +85,6 @@ GeneralHandler::GeneralHandler():
void GeneralHandler::handleMessage(MessageIn &msg)
{
int code;
- unsigned char direction;
switch (msg.getId())
{
diff --git a/src/net/ea/maphandler.cpp b/src/net/ea/maphandler.cpp
index 6fd27755..de60059f 100644
--- a/src/net/ea/maphandler.cpp
+++ b/src/net/ea/maphandler.cpp
@@ -54,7 +54,6 @@ MapHandler::MapHandler()
void MapHandler::handleMessage(MessageIn &msg)
{
- int code;
unsigned char direction;
switch (msg.getId())