… | |
… | |
503 | /* if not, do it the slow way */ \ |
503 | /* if not, do it the slow way */ \ |
504 | if (!m || ++ny >= m->height) \ |
504 | if (!m || ++ny >= m->height) \ |
505 | { \ |
505 | { \ |
506 | nx = (op)->x + dx; ny = (op)->y + dy; m = (op)->map; \ |
506 | nx = (op)->x + dx; ny = (op)->y + dy; m = (op)->map; \ |
507 | \ |
507 | \ |
508 | if (xy_normalise (m, nx, ny)) \ |
508 | if (!xy_normalise (m, nx, ny)) \ |
509 | m->touch (); \ |
|
|
510 | else \ |
|
|
511 | m = 0; \ |
509 | m = 0; \ |
512 | } |
510 | } |
513 | |
511 | |
514 | #define ordered_mapwalk_end \ |
512 | #define ordered_mapwalk_end \ |
515 | } \ |
513 | } \ |