From a5f8b4aaccf99929024188fb2253f1fa2b6b3f44 Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 15 Feb 2009 17:01:48 +0000 Subject: Lots more cleanups. Remove the sound-strength #defines because they're not used anymore (except for SL_SPLASH, which has been replaced by its value.) Change some #defines to const variables. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9087 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 145d90aa63..9d63b3ca96 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1104,7 +1104,7 @@ bool cast_twisted_resurrection(int pow, god_type god) (colour == RED) ? 1000 : 2500); - menv[monster].hit_dice = MIN(30, menv[monster].hit_dice); + menv[monster].hit_dice = std::min(30, menv[monster].hit_dice); // XXX: No convenient way to get the hit dice size right now. menv[monster].hit_points = hit_points(menv[monster].hit_dice, 2, 5); -- cgit v1.2.3-54-g00ecf