From e8c1dee3b53ff3063b22db5aa0c45650cd7fd439 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Tue, 2 Jun 2015 00:33:55 +0200 Subject: [PATCH] Improved scheduling of point lights for the render queue by fixing a bug. --- game/graphics.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/graphics.cc b/game/graphics.cc index 71cb56f..09f11a2 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -353,6 +353,9 @@ void Graphics::render(double time) bool enqueued = false; for(unsigned int j = 0; j std::get<1>(renderQueue.at(j))){ + if (j