"Supporting" spectators. Using a vector for connected units as we do not interpret as players. ““”̿ ̿ ̿ ̿ ̿’̿’̵͇̿̿з=(•̪●)=ε/̵͇̿̿/̿ ̿ ̿ ̿ ̿’““

This commit is contained in:
Jocke
2016-01-20 16:27:23 +01:00
parent 4d01cdf895
commit 25d2aa3464
3 changed files with 46 additions and 52 deletions
+1 -4
View File
@@ -85,11 +85,8 @@ void Client::parseMessageType(Packet& packet)
void Client::parseConnect(Packet& packet)
{
// Set your own player id
m_PlayerID = packet.ReadPrimitive<int>();
m_ServerEntityID = packet.ReadPrimitive<EntityID>();
// Map ServerEntityID and your PlayerID
LOG_INFO("%i: I am player: %i", m_PacketID, m_PlayerID);
LOG_INFO("I be connected PogChamp");
}
void Client::parsePlayerConnected(Packet & packet)