mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-04 22:42:28 +02:00
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;
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user