Damn it git, WHAT ARE YOU DOING?
This commit is contained in:
parent
71c5d53f7f
commit
e2d4ae5763
@ -584,8 +584,6 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
if(pmap[y][x])
|
if(pmap[y][x])
|
||||||
{
|
{
|
||||||
if(((pmap[y][x]&0xFF)==PT_CLNE||(pmap[y][x]&0xFF)==PT_BCLN||(pmap[y][x]&0xFF)==PT_PCLN)&&(t!=PT_CLNE&&t!=PT_PCLN&&t!=PT_BCLN&&t!=PT_STKM&&t!=PT_STKM2))
|
if(((pmap[y][x]&0xFF)==PT_CLNE||(pmap[y][x]&0xFF)==PT_BCLN||(pmap[y][x]&0xFF)==PT_PCLN)&&(t!=PT_CLNE&&t!=PT_PCLN&&t!=PT_BCLN&&t!=PT_STKM&&t!=PT_STKM2))
|
||||||
{
|
|
||||||
if(((pmap[y][x]&0xFF)==PT_CLNE||(pmap[y][x]&0xFF)==PT_BCLN||(pmap[y][x]&0xFF)==PT_PCLN)&&(t!=PT_CLNE&&t!=PT_PCLN&&t!=PT_BCLN))
|
|
||||||
{
|
{
|
||||||
parts[pmap[y][x]>>8].ctype = t;
|
parts[pmap[y][x]>>8].ctype = t;
|
||||||
}
|
}
|
||||||
@ -597,10 +595,7 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
pfree = parts[i].life;
|
pfree = parts[i].life;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
i = p;
|
i = p;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(t==PT_GLAS)
|
if(t==PT_GLAS)
|
||||||
{
|
{
|
||||||
@ -696,7 +691,7 @@ inline int create_part(int p, int x, int y, int t)
|
|||||||
}
|
}
|
||||||
if(t==PT_BIZR||t==PT_BIZRG)
|
if(t==PT_BIZR||t==PT_BIZRG)
|
||||||
parts[i].ctype = 0x47FFFF;
|
parts[i].ctype = 0x47FFFF;
|
||||||
if(t!=PT_STKM&&t!=PT_STKM2)// && t!=PT_PHOT && t!=PT_NEUT) is this needed? it breaks floodfill
|
if(t!=PT_STKM&&t!=PT_STKM2 && t!=PT_PHOT)// && t!=PT_NEUT) is this needed? it breaks floodfill, Yes photons should not be placed in the PMAP
|
||||||
pmap[y][x] = t|(i<<8);
|
pmap[y][x] = t|(i<<8);
|
||||||
else if(t==PT_STKM)
|
else if(t==PT_STKM)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user