summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 97c0a958a0..b505f3aac7 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -990,18 +990,6 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary)
return (false);
}
- // Cannot swim in heavy armour.
- if (!ignore_temporary
- && player_is_swimming()
- && slot == EQ_BODY_ARMOUR
- && !is_light_armour( item ))
- {
- if (verbose)
- mpr("You can't swim in that!");
-
- return (false);
- }
-
// Giant races and draconians.
if (player_size(PSIZE_TORSO) >= SIZE_LARGE || player_genus(GENPC_DRACONIAN))
{