From 135e91b84dbc2c49319e73bce63aab2d7a22eb71 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Sat, 23 Jun 2012 00:07:24 +0100 Subject: [PATCH] Reset particle flags in create_part --- src/powder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/powder.c b/src/powder.c index f6f1e8c2a..6a7d68d30 100644 --- a/src/powder.c +++ b/src/powder.c @@ -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];