fix debug portal lines to the highest ID particle not working, fixes #393
This commit is contained in:
parent
bda17dd62e
commit
1af4fa912f
@ -2003,7 +2003,7 @@ void Renderer::render_parts()
|
|||||||
type = PT_PRTO;
|
type = PT_PRTO;
|
||||||
else if (type == PT_PRTO)
|
else if (type == PT_PRTO)
|
||||||
type = PT_PRTI;
|
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)
|
if (parts[z].type == type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user