summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-05 16:22:35 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-05 16:22:35 +0100
commit259a353db2a544831c572146cf50bdafcdc4ed5d (patch)
tree7c215a193ad91f80c7e7b0733e7b6655ede7490b /crawl-ref/source/it_use2.cc
parent8a71b54ce2a022bdd79680e19f88d9c600a0fc4e (diff)
downloadcrawl-ref-259a353db2a544831c572146cf50bdafcdc4ed5d.tar.gz
crawl-ref-259a353db2a544831c572146cf50bdafcdc4ed5d.zip
Move rot_player() to player::rot() (Zaba)
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc2
1 files changed, 1 insertions, 1 deletions
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;