mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 13:24:02 +02:00
Physics fix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user