From de162132f702a4723cc9390d8c83baa012844161 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Thu, 5 Nov 2009 19:42:01 +0300 Subject: Replace uses of player_is_swimming with you.swimming. Signed-off-by: Robert Vollmert --- crawl-ref/source/describe.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 6d5b42bf67..5754d81332 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -3737,7 +3737,7 @@ std::string get_skill_description(int skill, bool need_title) if (you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON || player_genus(GENPC_DRACONIAN) - || you.species == SP_MERFOLK && player_is_swimming() + || you.species == SP_MERFOLK && you.swimming() || player_mutation_level( MUT_STINGER )) { // TSO worshippers will not use their venomous tails. @@ -3766,7 +3766,7 @@ std::string get_skill_description(int skill, bool need_title) else if (player_mutation_level(MUT_TALONS)) unarmed_attacks.push_back("claw with your talons"); else if (you.species != SP_NAGA - && (you.species != SP_MERFOLK || !player_is_swimming())) + && (you.species != SP_MERFOLK || !you.swimming())) { unarmed_attacks.push_back("deliver a kick"); } -- cgit v1.2.3-54-g00ecf