diff options
| author | AntB <psychogiant@hotmail.com> | 2010-10-15 12:11:27 (GMT) |
|---|---|---|
| committer | AntB <psychogiant@hotmail.com> | 2010-10-15 12:11:27 (GMT) |
| commit | a03b1f7e566839856287d07f62864a4104e4e885 (patch) | |
| tree | 9f35c09a33adb11e9003e7fa75d5b167f4b90de2 /src | |
| parent | a49f81decb2d082a5fa794d4be4fd288bace247a (diff) | |
| download | powder-a03b1f7e566839856287d07f62864a4104e4e885.zip powder-a03b1f7e566839856287d07f62864a4104e4e885.tar.gz | |
Physics fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c index 2cc8c3c..d297489 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; |
