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/it_use2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/it_use2.cc') diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 6ca4a09a46..f1ab3b3d40 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -321,7 +321,7 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) } // give a message if no message otherwise - if (!restore_stat(STAT_ALL, false) && nothing_happens) + if (!restore_stat(STAT_ALL, 0, false) && nothing_happens) mpr( "You feel refreshed." ); break; } -- cgit v1.2.3-54-g00ecf