From 259a353db2a544831c572146cf50bdafcdc4ed5d Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 5 Nov 2009 16:22:35 +0100 Subject: Move rot_player() to player::rot() (Zaba) --- 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 ff67f83c57..bc50fa4f89 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -362,7 +362,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) // Don't generate randomly - should be rare and interesting. case POT_DECAY: - if (rot_player((10 + random2(10)) / factor)) + if (you.rot(&you, (10 + random2(10)) / factor)) xom_is_stimulated(64 / xom_factor); break; -- cgit v1.2.3-54-g00ecf