From 05a12d5568111fa13759026442ed358605bf9a28 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 23 Feb 2006 16:02:00 +0000 Subject: A bunch of mostly cosmetic cleanups. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4e47f7e4..af6d21e3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,7 +76,7 @@ #include "resources/resourcemanager.h" // Account infos -char sex, n_server, n_character; +char n_server, n_character; Spriteset *hairset = NULL, *playerset = NULL; Graphics *graphics; @@ -443,7 +443,7 @@ void charLogin(Network *network, LoginData *loginData) outMsg.writeInt32(loginData->session_ID1); outMsg.writeInt32(loginData->session_ID2); outMsg.writeInt16(0); // unknown - outMsg.writeInt8(sex); + outMsg.writeInt8(loginData->sex); // We get 4 useless bytes before the real answer comes in network->skip(4); @@ -465,7 +465,7 @@ void mapLogin(Network *network, LoginData *loginData) outMsg.writeInt32(player_node->mCharId); outMsg.writeInt32(loginData->session_ID1); outMsg.writeInt32(loginData->session_ID2); - outMsg.writeInt8(sex); + outMsg.writeInt8(loginData->sex); // We get 4 useless bytes before the real answer comes in network->skip(4); -- cgit v1.2.3-70-g09d2