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;
|
return 0;
|
||||||
|
|
||||||
if (r && ((r&0xFF) >= PT_NUM ||
|
if (r && ((r&0xFF) >= PT_NUM ||
|
||||||
!(ptypes[pt].weight >= ptypes[(r&0xFF)].weight))
|
(ptypes[pt].weight <= ptypes[(r&0xFF)].weight))
|
||||||
)
|
)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user