From 741f3db05f169b784e130a11e87f4485d6a679e4 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 20 Apr 2008 19:56:19 +0000 Subject: Expand restore_stat() to allow for more fine-grained constrol of stat restoration; the amount to be restored can now be specified. Use this where necessary. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4417 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.h') diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index fead7c715c..b5d8e8cfaf 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -124,7 +124,8 @@ void drain_life(int pow); * called from: ability - food - it_use2 - spell * returns TRUE if a stat was restored. * *********************************************************************** */ -bool restore_stat(unsigned char which_stat, bool suppress_msg); +bool restore_stat(unsigned char which_stat, unsigned char stat_gain, + bool suppress_msg); // last updated 24may2000 {dlb} -- cgit v1.2.3-54-g00ecf