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/item_use.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 371e407330..3380880fd1 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -853,7 +853,7 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary) return (false); } - if (!ignore_temporary && player_is_swimming() + if (!ignore_temporary && you.swimming() && you.species == SP_MERFOLK) { if (verbose) -- cgit v1.2.3-54-g00ecf