mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
Fix typo allowing liquids to teleport through solids
This commit is contained in:
committed by
Simon Robertshaw
parent
d7138d6e4a
commit
cb30cbcce7
@@ -2249,7 +2249,7 @@ killed:
|
||||
ny = (int)(parts[i].y+0.5f);
|
||||
break;
|
||||
}
|
||||
if ((pmap[fin_y][j]&0xFF)!=t || (bmap[fin_y/CELL][j/CELL] && bmap[fin_y/CELL][j/CELL]!=WL_STREAM))
|
||||
if ((pmap[clear_y][j]&0xFF)!=t || (bmap[clear_y/CELL][j/CELL] && bmap[clear_y/CELL][j/CELL]!=WL_STREAM))
|
||||
break;
|
||||
}
|
||||
if (parts[i].vy>0)
|
||||
|
Reference in New Issue
Block a user