LA CLAN PANNETON POUR DÉMÉNAGER FAUT SIGNALER LE (/&)&)&!

This commit is contained in:
MarcEricMartel
2023-11-27 14:53:23 -05:00
parent 8ea5af6ef9
commit 2a7fe7e806
2 changed files with 3 additions and 4 deletions

View File

@@ -404,7 +404,7 @@ void Engine::Init() {
rt->SetPosition(Vector3f(555, 555, 555));
}
seed = m_conn.getSeed();
seed = 9370707;//m_conn.getSeed();
m_networkgame = true;
}
else std::cout << "Erreur de connexion." << std::endl;
@@ -1358,8 +1358,7 @@ void Engine::Render(float elapsedTime) {
for (auto& [key, player] : m_players) {
RemotePlayer* rt = static_cast<RemotePlayer*>(player);
//std::cout << key << ": "; rt->GetPosition().Afficher();
glClear(GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
glClear(GL_STENCIL_BUFFER_BIT);
rt->Render(m_animeAtlas, m_shader01, all, elapsedTime);
m_otherplayerpos = player->GetPosition(); // Aller chercher GetPosition des deux façon, voir si ça chie.
}