diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-18 05:17:29 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-18 05:17:29 +0000 |
commit | 5aaa8c17269280c214af54052f39ea65d8efa8b7 (patch) | |
tree | 9bab39bf19e6fc7d45e68e9b26d6eb9cfc48f233 | |
parent | ef81b4c1125a2bedc476b4650c67d3edb4a3a5c2 (diff) | |
download | crawl-ref-5aaa8c17269280c214af54052f39ea65d8efa8b7.tar.gz crawl-ref-5aaa8c17269280c214af54052f39ea65d8efa8b7.zip |
Applying r6598 to 0.4.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6599 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 02aaf1d4c5..d4c0dd213c 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -3158,8 +3158,7 @@ static void _handle_behaviour(monsters *mon) // is rather small. int erase = -1; // Erase how many waypoints? - for (unsigned int i = mon->travel_path.size() - 1; - i >= 0; --i) + for (int i = mon->travel_path.size() - 1; i >= 0; --i) { if (grid_see_grid(mon->x, mon->y, mon->travel_path[i].x, |