From ebc8ed1f56dd836a280524385d885c770e4dd813 Mon Sep 17 00:00:00 2001 From: MarcEricMartel <74071476+MarcEricMartel@users.noreply.github.com> Date: Fri, 3 Dec 2021 11:53:05 -0500 Subject: [PATCH] !!! --- SQCSim2021/world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQCSim2021/world.cpp b/SQCSim2021/world.cpp index f9730fb..0114c8b 100644 --- a/SQCSim2021/world.cpp +++ b/SQCSim2021/world.cpp @@ -326,7 +326,7 @@ void World::RenderWorld(int& rendercount, int& badhitcount, Player& player, Tran if (ChunkAt(cursor)) { int chx, chy; ChunkAt(cursor)->GetPosition(chx, chy); - for (int index = 0; index < rendercount; ++index) + for (int index = 0; index < rendercount; ++index) // Permet de vérifier seulement contre celles ajoutées dans la frame, et ne pas avoir à refaire l'array à chaque frame. if (renderManifest[index] == Vector3i(chx, 0, chy)) { valide = false; ++badhitcount;