diff options
author | Steven Noonan <steven@uplinklabs.net> | 2010-03-03 13:46:10 -0800 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2010-03-04 00:20:59 -0800 |
commit | 9e1a572b3d77baf0e8d170633487d3e9de88a24f (patch) | |
tree | 7eb4749b35c27a4b247f953ec4fe08d1028b8488 /crawl-ref/source/kills.cc | |
parent | 6d20b7d34ee7043d14c2c439033355f073cf1415 (diff) | |
download | crawl-ref-9e1a572b3d77baf0e8d170633487d3e9de88a24f.tar.gz crawl-ref-9e1a572b3d77baf0e8d170633487d3e9de88a24f.zip |
fix struct/class specifier inconsistency for 'class monsters'
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/kills.cc')
-rw-r--r-- | crawl-ref/source/kills.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/kills.cc b/crawl-ref/source/kills.cc index a585d9de26..fec644d675 100644 --- a/crawl-ref/source/kills.cc +++ b/crawl-ref/source/kills.cc @@ -278,7 +278,7 @@ void Kills::merge(const Kills &k) } } -void Kills::record_kill(const struct monsters *mon) +void Kills::record_kill(const monsters *mon) { // Handle player ghosts separately, but don't handle summoned // ghosts at all. {due} @@ -365,7 +365,7 @@ void Kills::load(reader& inf) } } -void Kills::record_ghost_kill(const struct monsters *mon) +void Kills::record_ghost_kill(const monsters *mon) { // We should never get to this point, but just in case... {due} if (mon->is_summoned()) @@ -390,7 +390,7 @@ int Kills::num_kills(const monsters *mon) const return total; } -kill_def::kill_def(const struct monsters *mon) : kills(0), exp(0) +kill_def::kill_def(const monsters *mon) : kills(0), exp(0) { exp = exper_value(mon); add_kill(mon, get_packed_place()); @@ -484,7 +484,7 @@ void kill_def::merge(const kill_def &k, bool uniq) } } -void kill_def::add_kill(const struct monsters *mon, unsigned short place) +void kill_def::add_kill(const monsters *mon, unsigned short place) { kills++; // They're only unique if they aren't summoned. |