!!!
This commit is contained in:
@@ -326,7 +326,7 @@ void World::RenderWorld(int& rendercount, int& badhitcount, Player& player, Tran
|
|||||||
if (ChunkAt(cursor)) {
|
if (ChunkAt(cursor)) {
|
||||||
int chx, chy;
|
int chx, chy;
|
||||||
ChunkAt(cursor)->GetPosition(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<75>es dans la frame, et ne pas avoir <20> refaire l'array <20> chaque frame.
|
||||||
if (renderManifest[index] == Vector3i(chx, 0, chy)) {
|
if (renderManifest[index] == Vector3i(chx, 0, chy)) {
|
||||||
valide = false;
|
valide = false;
|
||||||
++badhitcount;
|
++badhitcount;
|
||||||
|
Reference in New Issue
Block a user