mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-20 14:20:02 +01:00
Fix &255 usage
This commit is contained in:
parent
a435b5f7b9
commit
5f4c5fb118
@ -4709,7 +4709,7 @@ killed:
|
||||
{
|
||||
if ((TYP(pmap[j][nx])!=t || bmap[j/CELL][nx/CELL]) && do_move(i, nx, ny, (float)nx, (float)j))
|
||||
break;
|
||||
if ((pmap[j][nx]&255)!=t || (bmap[j/CELL][nx/CELL] && bmap[j/CELL][nx/CELL]!=WL_STREAM))
|
||||
if (TYP(pmap[j][nx])!=t || (bmap[j/CELL][nx/CELL] && bmap[j/CELL][nx/CELL]!=WL_STREAM))
|
||||
break;
|
||||
}
|
||||
else if (s==-1) {} // particle is out of bounds
|
||||
|
Loading…
x
Reference in New Issue
Block a user