summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pathfind.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-06 23:49:41 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-06 23:49:41 +0200
commit421489decb1c1dcfd7aea8c56f58a524012fefc3 (patch)
treeaa957c3fbcf571315ee1a840ec0e90d57e7d8fcb /crawl-ref/source/mon-pathfind.cc
parent7134ea5dd903d706e9a967e6551b5f64959e6ec6 (diff)
downloadcrawl-ref-421489decb1c1dcfd7aea8c56f58a524012fefc3.tar.gz
crawl-ref-421489decb1c1dcfd7aea8c56f58a524012fefc3.zip
Split I_INSECT and I_REPTILE.
The data has already been distinct, yet code-wise it was an alias; initially introduced as a documentation issue: people thought dumb reptiles are animals rather than insects (kind of understandable...).
Diffstat (limited to 'crawl-ref/source/mon-pathfind.cc')
-rw-r--r--crawl-ref/source/mon-pathfind.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-pathfind.cc b/crawl-ref/source/mon-pathfind.cc
index dcf59a9460..b4653d6651 100644
--- a/crawl-ref/source/mon-pathfind.cc
+++ b/crawl-ref/source/mon-pathfind.cc
@@ -39,6 +39,7 @@ int mons_tracking_range(const monster* mon)
range = 2;
break;
case I_INSECT:
+ case I_REPTILE:
range = 4;
break;
case I_ANIMAL: