Skip to content

Commit

Permalink
fix debug portal lines to the highest ID particle not working, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Apr 8, 2017
1 parent bda17dd commit 1af4fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/Renderer.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1af4fa9

Please sign in to comment.