… | … | ||
---|---|---|---|
297 | { | 297 | { |
298 | if (!flag [FLAG_REMOVED]) | 298 | if (!flag [FLAG_REMOVED]) |
299 | do_remove (); | 299 | do_remove (); |
300 | } | 300 | } |
301 | 301 | ||
302 | MTH bool blocked (maptile *m, int x, int y) const; | ||
303 | |||
302 | void move_to (const mapxy &pos) | 304 | void move_to (const mapxy &pos) |
303 | { | 305 | { |
304 | remove (); | 306 | remove (); |
305 | *this = pos; | 307 | *this = pos; |
306 | insert_at (this, this); | 308 | insert_at (this, this); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |