diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 23:10:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 23:10:52 +0000 |
commit | c2d07b732f3c9749d24bda7c83a586c430757d1f (patch) | |
tree | 7b055fd0df53348e44e0cb9e9d8583767cefe65c /crawl-ref/source/monstuff.cc | |
parent | b7116fc4280b8a77871eaae23ee07360531e66e0 (diff) | |
download | crawl-ref-c2d07b732f3c9749d24bda7c83a586c430757d1f.tar.gz crawl-ref-c2d07b732f3c9749d24bda7c83a586c430757d1f.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6357 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index b52510d3b0..4064f13832 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -3060,7 +3060,7 @@ static void _handle_behaviour(monsters *mon) // If a pacified monster is leaving the level, and has // reached its goal, handle it here. - if (isPacified && e_index != -1 + if (e_index != -1 && mon->x == e[e_index].target.x && mon->y == e[e_index].target.y) { |