Revert "Fixed a bug with clne having its ctype overridden by manually placed particles."

This reverts commit ed392c9724.
Sorry about the reverts, I accedentally reverted the wrong one originally.
This commit is contained in:
Bryan Hoyle 2011-08-16 12:46:45 -04:00
parent ad09f3040e
commit e7ce51d420

View File

@ -757,11 +757,8 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a
t!=PT_STKM2&&t!=PT_PBCN) t!=PT_STKM2&&t!=PT_PBCN)
) )
{ {
if(!parts[pmap[y][x]>>8].ctype){
parts[pmap[y][x]>>8].ctype = t; parts[pmap[y][x]>>8].ctype = t;
if (t==PT_LIFE && v<NGOLALT) if (t==PT_LIFE && v<NGOLALT) parts[pmap[y][x]>>8].tmp = v;
parts[pmap[y][x]>>8].tmp = v;
}
} }
return -1; return -1;
} }