Fuck around and find out
This commit is contained in:
parent
9a7d25c1d9
commit
5e57a13820
@ -97,7 +97,10 @@ int Connector::Connect(const char* srv_addr, std::string name) {
|
||||
pl = new netprot::PlayerInfo();
|
||||
if (!netprot::Deserialize(pl, pck, &bsize))
|
||||
++errors;
|
||||
else m_players[pl->id] = pl;
|
||||
else {
|
||||
m_players[pl->id] = pl;
|
||||
std::cout << pl->name << std::endl;
|
||||
}
|
||||
break;
|
||||
case TEAMINF:
|
||||
// TODO: Faire dequoi avec TeamInfo si on fini par avoir des teams.
|
||||
|
Loading…
Reference in New Issue
Block a user