mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 23:21:20 +02:00
As good as its gettin for now
This commit is contained in:
@@ -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)
|
if(ptypes[pt].falldown!=1 && bmap[ny/CELL][nx/CELL]==10)
|
||||||
return 0;
|
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;
|
return 0;
|
||||||
|
|
||||||
if(pt == PT_PHOT)
|
if(pt == PT_PHOT)
|
||||||
|
Reference in New Issue
Block a user