VOID & PVOD can be set to only eat/not eat certain things
This commit is contained in:
parent
9a179651ee
commit
1fb7787243
@ -344,6 +344,7 @@ int 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(!parts[r>>8].ctype || (parts[r>>8].ctype==parts[i].type)!=(parts[r>>8].tmp&1))
|
||||
kill_part(i);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user