… | … | ||
---|---|---|---|
658 | *cy = ly; | 658 | *cy = ly; |
659 | return; | 659 | return; |
660 | } | 660 | } |
661 | } | 661 | } |
662 | /* give up and return the closest free spot. */ | 662 | /* give up and return the closest free spot. */ |
663 | i = find_free_spot (&archetype::find ("chest")->clone, map, x, y, 1, SIZEOFFREE1 + 1); | 663 | i = find_free_spot (archetype::find ("chest"), map, x, y, 1, SIZEOFFREE1 + 1); |
664 | 664 | ||
665 | if (i != -1) | 665 | if (i != -1) |
666 | { | 666 | { |
667 | *cx = x + freearr_x[i]; | 667 | *cx = x + freearr_x[i]; |
668 | *cy = y + freearr_y[i]; | 668 | *cy = y + freearr_y[i]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |