mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 14:28:30 +01:00
Physics fix
This commit is contained in:
parent
a49f81decb
commit
a03b1f7e56
@ -94,7 +94,7 @@ static int eval_move(int pt, int nx, int ny, unsigned *rr)
|
||||
return 0;
|
||||
|
||||
if (r && ((r&0xFF) >= PT_NUM ||
|
||||
!(ptypes[pt].weight >= ptypes[(r&0xFF)].weight))
|
||||
(ptypes[pt].weight <= ptypes[(r&0xFF)].weight))
|
||||
)
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user