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/areas.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/areas.cc')
-rw-r--r-- | crawl-ref/source/areas.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/areas.cc b/crawl-ref/source/areas.cc index cd274cb177..25e4b38d65 100644 --- a/crawl-ref/source/areas.cc +++ b/crawl-ref/source/areas.cc @@ -205,7 +205,7 @@ void create_sanctuary(const coord_def& center, int time) int trap_count = 0; int scare_count = 0; int cloud_count = 0; - monsters *seen_mon = NULL; + monster* seen_mon = NULL; int shape = random2(4); for (radius_iterator ri(center, radius, C_POINTY); ri; ++ri) @@ -257,7 +257,7 @@ void create_sanctuary(const coord_def& center, int time) // Scare all attacking monsters inside sanctuary, and make // all friendly monsters inside sanctuary stop attacking and // move towards the player. - if (monsters* mon = monster_at(pos)) + if (monster* mon = monster_at(pos)) { if (mon->friendly()) { @@ -350,7 +350,7 @@ int player::silence_radius2() const return (_silence_range(you.duration[DUR_SILENCE])); } -int monsters::silence_radius2() const +int monster::silence_radius2() const { if (type == MONS_SILENT_SPECTRE) return 150; @@ -402,7 +402,7 @@ int player::halo_radius2() const return (-1); } -int monsters::halo_radius2() const +int monster::halo_radius2() const { // Angels and Daevas are haloed. if (holiness() == MH_HOLY) |