From e5d9eb2fa621764b1269cde06346f5e7cb6fd9a5 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Wed, 1 Nov 2023 08:59:09 -0400 Subject: [PATCH] Erratum --- SQCSim2021/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index 0995fe0..fa08d80 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -1010,7 +1010,7 @@ void Engine::Render(float elapsedTime) { for (int x = 0; x < MAX_BULLETS; ++x) { // Array de bullets en jeu. if (m_bullets[x]) { for (int b = 0; b < BULLET_UPDATES_PER_FRAME; ++b) { - if (m_bullets[x]->Update(&m_world, elapsedTime, BULLET_UPDATES_PER_FRAME)) { + if (m_bullets[x]->Update(&m_world, elapsedTime, BULLET_UPDATES_PER_FRAME, m_players)) { m_bullets[x]->~Bullet(); if (m_whoosh[x]) m_whoosh[x]->drop();