Explorar o código

fixed client_version for LoadCharacter to get the proper client version

Image %!s(int64=4) %!d(string=hai) anos
pai
achega
f976ac3138
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      EQ2/source/LoginServer/LoginDatabase.cpp

+ 1 - 1
EQ2/source/LoginServer/LoginDatabase.cpp

@@ -174,7 +174,7 @@ void LoginDatabase::LoadCharacters(LoginAccount* acct, int16 version){
 			else
 				player->packet->setDataByName("version", 5);
 
-			player->packet->setDataByName("client_version", GetVersion());
+			player->packet->setDataByName("client_version", version);
 
 			player->packet->setDataByName("account_id", acct->getLoginAccountID());
 			player->packet->setDataByName("account_id2", acct->getLoginAccountID());