From dd28fe417e451795644b185c3870da2e410dc88e Mon Sep 17 00:00:00 2001 From: ennewalker Date: Mon, 5 Jan 2009 04:35:50 +0000 Subject: Fixing warning in non-debug mode. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8230 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/newgame.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index d744aeab8a..746a1360d2 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -1051,10 +1051,12 @@ static void _give_species_bonus_mp() } } +#if DEBUG static bool _species_is_undead( const species_type speci ) { return (speci == SP_MUMMY || speci == SP_GHOUL || speci == SP_VAMPIRE); } +#endif undead_state_type get_undead_state(const species_type sp) { -- cgit v1.2.3-54-g00ecf