diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-05 16:22:35 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-05 16:22:35 +0100 |
commit | 259a353db2a544831c572146cf50bdafcdc4ed5d (patch) | |
tree | 7c215a193ad91f80c7e7b0733e7b6655ede7490b /crawl-ref/source/it_use2.cc | |
parent | 8a71b54ce2a022bdd79680e19f88d9c600a0fc4e (diff) | |
download | crawl-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.cc | 2 |
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; |