diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-09-06 06:33:57 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-09-05 12:56:13 +0200 |
commit | 31adfd48395f3c74daad1f72b874f497020481a7 (patch) | |
tree | d7733b7e157fa13c4af485ed7c51b3f97c6b1a72 /crawl-ref/source/mon-pathfind.cc | |
parent | a49e4492fc269271c7809d2caeb1e4d80bb0b7bf (diff) | |
download | crawl-ref-31adfd48395f3c74daad1f72b874f497020481a7.tar.gz crawl-ref-31adfd48395f3c74daad1f72b874f497020481a7.zip |
Rename class "monsters" to "monster".
Diffstat (limited to 'crawl-ref/source/mon-pathfind.cc')
-rw-r--r-- | crawl-ref/source/mon-pathfind.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-pathfind.cc b/crawl-ref/source/mon-pathfind.cc index 1181a8728f..62dde42aa7 100644 --- a/crawl-ref/source/mon-pathfind.cc +++ b/crawl-ref/source/mon-pathfind.cc @@ -29,7 +29,7 @@ // (These requirements are usually preference of habitat of a specific monster // or a limit of the distance between start and any grid on the path.) -int mons_tracking_range(const monsters *mon) +int mons_tracking_range(const monster* mon) { int range = 0; @@ -89,7 +89,7 @@ coord_def monster_pathfind::next_pos(const coord_def &c) const // The main method in the monster_pathfind class. // Returns true if a path was found, else false. -bool monster_pathfind::init_pathfind(const monsters *mon, coord_def dest, +bool monster_pathfind::init_pathfind(const monster* mon, coord_def dest, bool diag, bool msg, bool pass_unmapped) { mons = mon; |