diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-22 23:07:24 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-22 23:10:39 (GMT) |
| commit | 135e91b84dbc2c49319e73bce63aab2d7a22eb71 (patch) | |
| tree | 5ea24a52209f989f30401d6c883c65c04ddd9b6d /src | |
| parent | 95ca29cc645e106586c6c4e0605cd703a6d77b6e (diff) | |
| download | powder-135e91b84dbc2c49319e73bce63aab2d7a22eb71.zip powder-135e91b84dbc2c49319e73bce63aab2d7a22eb71.tar.gz | |
Reset particle flags in create_part
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c index f6f1e8c..6a7d68d 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]; |
