mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
fix debug portal lines to the highest ID particle not working, fixes #393
This commit is contained in:
@@ -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