diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-12-10 08:32:45 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-12-10 08:34:11 +0100 |
commit | 2c6f84f7b21882feeded0a197803acd612afe659 (patch) | |
tree | 5b349fb29b737b700d3f7f900d695d91b53637e9 /crawl-ref | |
parent | 076bae805cc14f884cf40c84f278478d2b4ad24c (diff) | |
download | crawl-ref-2c6f84f7b21882feeded0a197803acd612afe659.tar.gz crawl-ref-2c6f84f7b21882feeded0a197803acd612afe659.zip |
Make orb run demons seek the player.
Commit c2a93a39 fixed a bug where all randomly spawned monsters
were generated aware of the player. However, for the pan run
demons, having them seek the player is probably a good idea,
so I'm reactivating this explicitly.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/mon-place.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-place.cc b/crawl-ref/source/mon-place.cc index d3da78c640..6629b8acf1 100644 --- a/crawl-ref/source/mon-place.cc +++ b/crawl-ref/source/mon-place.cc @@ -298,6 +298,7 @@ void spawn_random_monsters() mgen_data mg(WANDERING_MONSTER); mg.proximity = prox; + mg.foe = (you.char_direction == GDT_ASCENDING) ? MHITYOU : MHITNOT; mons_place(mg); viewwindow(false); return; |