diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-03-22 17:50:40 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-03-22 18:49:31 +0100 |
commit | 8cc49931c17750ea03154485fde5143f1a9ce46f (patch) | |
tree | bfd752d26a6320ac34e4c88e97c9fd657a837124 /crawl-ref/source/mon-transit.cc | |
parent | 1d9ce342ce0a75266c0b708fb30101130d72d5be (diff) | |
download | crawl-ref-8cc49931c17750ea03154485fde5143f1a9ce46f.tar.gz crawl-ref-8cc49931c17750ea03154485fde5143f1a9ce46f.zip |
Make some monster movement code use move_to_pos.
This should be ok now that move_to_pos no longer requires the
old position to be valid.
Diffstat (limited to 'crawl-ref/source/mon-transit.cc')
-rw-r--r-- | crawl-ref/source/mon-transit.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-transit.cc b/crawl-ref/source/mon-transit.cc index 517189233a..beae126429 100644 --- a/crawl-ref/source/mon-transit.cc +++ b/crawl-ref/source/mon-transit.cc @@ -264,10 +264,7 @@ bool follower::place(bool near_player) if (where_to_go == you.pos()) near_player = true; else if (m.find_home_near_place(where_to_go)) - { - mgrd(m.pos()) = m.mindex(); placed = true; - } } if (!placed) |