diff --git a/game/graphics.cc b/game/graphics.cc index 6cb5738..65d99b6 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -366,7 +366,7 @@ void Graphics::render(double time) for(unsigned int i = 0; i std::get<1>(renderQueue.at(j))){ - if (j 1) { renderQueue.at(j+1) = renderQueue.at(j); } renderQueue.at(j) = std::make_tuple(shadowRenderQueue.at(i).light, shadowRenderQueue.at(i).currentPriority, i);