diff options
-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, |