diff --git a/src/powder.c b/src/powder.c index 595132bfc..b24960f3a 100644 --- a/src/powder.c +++ b/src/powder.c @@ -757,8 +757,11 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a t!=PT_STKM2&&t!=PT_PBCN) ) { - parts[pmap[y][x]>>8].ctype = t; - if (t==PT_LIFE && v>8].tmp = v; + if(!parts[pmap[y][x]>>8].ctype){ + parts[pmap[y][x]>>8].ctype = t; + if (t==PT_LIFE && v>8].tmp = v; + } } return -1; }