mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-26 17:53:10 +02:00
fix nx/ny again (values were reversed)
This commit is contained in:
parent
df1aac8180
commit
462bb78f3d
@ -4534,8 +4534,8 @@ killed:
|
||||
// clear_xf, clear_yf is the last known position that the particle should almost certainly be able to move to
|
||||
nxf = clear_xf;
|
||||
nyf = clear_yf;
|
||||
nx = clear_y;
|
||||
ny = clear_x;
|
||||
nx = clear_x;
|
||||
ny = clear_y;
|
||||
// Look for spaces to move horizontally (perpendicular to gravity direction), keep going until a space is found or the number of positions examined = rt
|
||||
for (j=0;j<rt;j++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user