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();
|
pl = new netprot::PlayerInfo();
|
||||||
if (!netprot::Deserialize(pl, pck, &bsize))
|
if (!netprot::Deserialize(pl, pck, &bsize))
|
||||||
++errors;
|
++errors;
|
||||||
else m_players[pl->id] = pl;
|
else {
|
||||||
|
m_players[pl->id] = pl;
|
||||||
|
std::cout << pl->name << std::endl;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case TEAMINF:
|
case TEAMINF:
|
||||||
// TODO: Faire dequoi avec TeamInfo si on fini par avoir des teams.
|
// TODO: Faire dequoi avec TeamInfo si on fini par avoir des teams.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user