summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/kills.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-22 13:49:27 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-03-22 22:54:42 +0100
commit3565ecf6be49a441389505484de12b63b42d3bc2 (patch)
tree90ae25202a2dbb8b153db55e0a9b64e65474b924 /crawl-ref/source/kills.h
parent61f4cf3e7904546147ccfbec3a2853b0416f3647 (diff)
downloadcrawl-ref-3565ecf6be49a441389505484de12b63b42d3bc2.tar.gz
crawl-ref-3565ecf6be49a441389505484de12b63b42d3bc2.zip
Remove unused special-casing of pghosts and pan lords as -1 in the killtracker.
Diffstat (limited to 'crawl-ref/source/kills.h')
-rw-r--r--crawl-ref/source/kills.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/kills.h b/crawl-ref/source/kills.h
index b47170f457..4e83404869 100644
--- a/crawl-ref/source/kills.h
+++ b/crawl-ref/source/kills.h
@@ -33,7 +33,7 @@ struct kill_monster_desc
M_SHAPESHIFTER, // A shapeshifter pretending to be 'monnum'
};
- int monnum; // Number of the beast
+ monster_type monnum; // Number of the beast
name_modifier modifier; // Nature of the beast
struct less_than
@@ -103,8 +103,8 @@ struct kill_exp
std::string base_name;
std::string desc;
- int monnum; // Number of the beast
- int modifier; // Nature of the beast
+ monster_type monnum; // Number of the beast
+ int modifier; // Nature of the beast
std::vector<unsigned short> places;
@@ -118,7 +118,7 @@ struct kill_exp
kill_exp(const kill_ghost &kg)
: nkills(1), exp(kg.exp), base_name(), desc(kg.info()),
- monnum(-1), modifier(0)
+ monnum(MONS_PROGRAM_BUG), modifier(0)
{
places.push_back(kg.place);
}