TPT: Reset particle flags in create_part 135e91b84d

This commit is contained in:
Simon Robertshaw 2012-07-25 17:52:26 +01:00
parent 799954f383
commit 2135d88644

View File

@ -2606,6 +2606,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat
if (i>parts_lastActiveIndex) parts_lastActiveIndex = i;
parts[i].dcolour = 0;
parts[i].flags = 0;
if (t==PT_GLAS)
{
parts[i].pavg[1] = pv[y/CELL][x/CELL];