TPT: VOID & PVOD can be set to only eat/not eat certain things
This commit is contained in:
parent
a95ceb4c92
commit
2e1780ce4e
@ -1978,7 +1978,8 @@ int Simulation::try_move(int i, int x, int y, int nx, int ny)
|
|||||||
}
|
}
|
||||||
if ((r&0xFF)==PT_VOID || (r&0xFF)==PT_PVOD) //this is where void eats particles
|
if ((r&0xFF)==PT_VOID || (r&0xFF)==PT_PVOD) //this is where void eats particles
|
||||||
{
|
{
|
||||||
kill_part(i);
|
if(!parts[r>>8].ctype || (parts[r>>8].ctype==parts[i].type)!=(parts[r>>8].tmp&1))
|
||||||
|
kill_part(i);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if ((r&0xFF)==PT_BHOL || (r&0xFF)==PT_NBHL) //this is where blackhole eats particles
|
if ((r&0xFF)==PT_BHOL || (r&0xFF)==PT_NBHL) //this is where blackhole eats particles
|
||||||
|
Loading…
Reference in New Issue
Block a user