Fix typo
This commit is contained in:
parent
7018e46fac
commit
9b2433f912
@ -3352,7 +3352,7 @@ void Simulation::update_particles_i(int start, int inc)
|
||||
if (parts[i].type)
|
||||
{
|
||||
t = parts[i].type;
|
||||
if (t<0 || t>=PT_NUM || !elements[i].Enabled)
|
||||
if (t<0 || t>=PT_NUM || !elements[t].Enabled)
|
||||
{
|
||||
kill_part(i);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user