diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 00:44:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 00:51:30 +0200 |
commit | aefbc69aac9f7c793725153eefce2631555bfd1f (patch) | |
tree | dc43d7d5cb5cf84373ee43a02998349d1deb3e0c /src/net | |
parent | 3b229e19c2b7545a71a066383872acd5d9348e41 (diff) | |
download | mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.gz mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.bz2 mana-client-aefbc69aac9f7c793725153eefce2631555bfd1f.tar.xz mana-client-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.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/generalhandler.cpp | 1 | ||||
-rw-r--r-- | src/net/ea/maphandler.cpp | 1 |
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()) |