diff options
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 7d62b5ac1d..0df93e66e5 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -57,6 +57,7 @@ #include "makeitem.h" #include "message.h" #include "misc.h" +#include "mon-util.h" #include "monplace.h" #include "monstuff.h" #include "mutation.h" @@ -4360,9 +4361,15 @@ void beogh_convert_orc(monsters *orc, bool emergency, // The monster is not really *created* friendly, but should it // become hostile later on, it won't count as a good kill. orc->flags |= MF_CREATED_FRIENDLY; - orc->flags |= MF_GOD_GIFT; + if (orc->is_patrolling()) + { + // Make orcs stop patrolling and forget their patrol point, + // they're supposed to follow you now. + orc->patrol_point = coord_def(0, 0); + } + if (!orc->alive()) orc->hit_points = std::min(random_range(1, 4), orc->max_hit_points); |