… | |
… | |
373 | op = op->head; |
373 | op = op->head; |
374 | |
374 | |
375 | x = op->x + freearr_x[dir]; |
375 | x = op->x + freearr_x[dir]; |
376 | y = op->y + freearr_y[dir]; |
376 | y = op->y + freearr_y[dir]; |
377 | |
377 | |
378 | if (!QUERY_FLAG (op, FLAG_CAN_ROLL) || (op->weight && random_roll (0, op->weight / 50000 - 1, pusher, PREFER_LOW) > pusher->stats.Str)) |
378 | if (!QUERY_FLAG (op, FLAG_CAN_ROLL) |
|
|
379 | || (op->weight && random_roll (0, op->weight / 50000 - 1, pusher, PREFER_LOW) |
|
|
380 | > pusher->stats.Str)) |
379 | return 0; |
381 | return 0; |
380 | |
382 | |
381 | m = op->map; |
383 | m = op->map; |
382 | flags = get_map_flags (m, &m, x, y, &x, &y); |
384 | flags = get_map_flags (m, &m, x, y, &x, &y); |
383 | |
385 | |