diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index 46a5810..d15cbd9 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -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;