summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 04:37:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 04:37:30 +0000
commitd348b697e8bc56257e501713ba82e29a86dcf782 (patch)
tree2abc6bccddf42ae065445d3f9c86fbb52ded0f9a /crawl-ref/source/monstuff.cc
parent078f2b05639f1ecea9ca514864e3363ab5b84434 (diff)
downloadcrawl-ref-d348b697e8bc56257e501713ba82e29a86dcf782.tar.gz
crawl-ref-d348b697e8bc56257e501713ba82e29a86dcf782.zip
Really fix compilation (oops).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8054 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index c11d08a0a0..0d13389caa 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1282,7 +1282,7 @@ void monster_die(monsters *monster, killer_type killer,
&& gives_xp)
{
const int type = monster->type;
- const int spectre_type = mons_species(type);
+ const monster_type spectre_type = mons_species(type);
const std::string name_plain = monster->name(DESC_PLAIN);
// Don't allow 0-headed hydras to become spectral hydras.