From 01dcfe5a1a95c7811b9c0871d3e8761f855e5c2d Mon Sep 17 00:00:00 2001 From: AntB Date: Thu, 14 Oct 2010 02:42:37 +0100 Subject: [PATCH] As good as its gettin for now --- src/powder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powder.c b/src/powder.c index 4e0b9f8e7..bd1779ad0 100644 --- a/src/powder.c +++ b/src/powder.c @@ -93,7 +93,7 @@ static int eval_move(int pt, int nx, int ny, unsigned *rr) if(ptypes[pt].falldown!=1 && bmap[ny/CELL][nx/CELL]==10) return 0; - if (r && ((r&0xFF) >= PT_NUM || (ptypes[pt].weight > ptypes[pt>>8].weight))) + if (r && ((r&0xFF) >= PT_NUM || !(ptypes[pt].weight = ptypes[(r&0xFF)].weight))) return 0; if(pt == PT_PHOT)