Reset particle flags in create_part
This commit is contained in:
parent
95ca29cc64
commit
135e91b84d
@ -902,6 +902,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user