-__-
This commit is contained in:
parent
9bf5188e0f
commit
35c55f2e26
@ -398,8 +398,11 @@ void Engine::Init() {
|
||||
std::cout << "Seed recu du serveur: " << std::to_string(m_conn.getSeed()) << "!" << std::endl;
|
||||
m_player = Player(m_conn.getOrigin().position);
|
||||
|
||||
for (auto& [key, player] : m_conn.m_players)
|
||||
for (auto& [key, player] : m_conn.m_players) {
|
||||
m_players[key] = new RemotePlayer(player);
|
||||
RemotePlayer* rt = (RemotePlayer*)m_players[key];
|
||||
rt->SetPosition(Vector3f(555, 555, 555));
|
||||
}
|
||||
|
||||
seed = m_conn.getSeed();
|
||||
m_networkgame = true;
|
||||
|
Loading…
Reference in New Issue
Block a user