Fixed typo which caused a bug.

This commit is contained in:
lotodore
2009-08-02 20:31:07 +00:00
parent 43b694e4f8
commit 36d853bd69
+1 -1
View File
@@ -724,7 +724,7 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
PlayerInfoData_t *netInfo = &tmpPacket->GetMsg()->choice.playerInfoReplyMessage.playerInfoResult.choice.playerInfoData;
tmpInfo.playerName = STL_STRING_FROM_OCTET_STRING(netInfo->playerName);
if (netInfo->isHuman)
tmpInfo.playerName = PLAYER_TYPE_HUMAN;
tmpInfo.ptype = PLAYER_TYPE_HUMAN;
else
tmpInfo.ptype = PLAYER_TYPE_COMPUTER;
if (netInfo->avatarData != NULL)