From a03b1f7e566839856287d07f62864a4104e4e885 Mon Sep 17 00:00:00 2001 From: AntB Date: Fri, 15 Oct 2010 13:11:27 +0100 Subject: [PATCH] Physics fix --- src/powder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powder.c b/src/powder.c index 2cc8c3c17..d29748949 100644 --- a/src/powder.c +++ b/src/powder.c @@ -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;