Permalink
Browse files

fix debug portal lines to the highest ID particle not working, fixes #…

  • Loading branch information...
jacob1 committed Apr 8, 2017
1 parent bda17dd commit 1af4fa912fbc129ca0852a800d7668870a947389
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/graphics/Renderer.cpp
@@ -2003,7 +2003,7 @@ void Renderer::render_parts()
type = PT_PRTO;
else if (type == PT_PRTO)
type = PT_PRTI;
for (int z = 0; z < sim->parts_lastActiveIndex; z++)
for (int z = 0; z <= sim->parts_lastActiveIndex; z++)
{
if (parts[z].type == type)
{

0 comments on commit 1af4fa9

Please sign in to comment.