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:
parent
ad09f3040e
commit
e7ce51d420
@ -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)
|
||||
)
|
||||
{
|
||||
if(!parts[pmap[y][x]>>8].ctype){
|
||||
parts[pmap[y][x]>>8].ctype = t;
|
||||
if (t==PT_LIFE && v<NGOLALT)
|
||||
parts[pmap[y][x]>>8].tmp = v;
|
||||
}
|
||||
if (t==PT_LIFE && v<NGOLALT) parts[pmap[y][x]>>8].tmp = v;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user