summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 799b038380..fe0e26a6fc 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -3636,7 +3636,7 @@ int check_stealth(void)
// Merfolk can sneak up on monsters underwater -- bwr
if (you.species == SP_MERFOLK)
stealth += 50;
- else if ( !player_can_swim() )
+ else if ( !player_can_swim() && !you.extra_balanced() )
stealth /= 2; // splashy-splashy
}
else if (player_mutation_level(MUT_HOOVES))
@@ -5724,9 +5724,14 @@ bool player::has_spell(spell_type spell) const
return (false);
}
+bool player::extra_balanced() const
+{
+ return (species == SP_NAGA);
+}
+
bool player::floundering() const
{
- return in_water() && !can_swim();
+ return in_water() && !can_swim() && !extra_balanced();
}
bool player::can_pass_through_feat(dungeon_feature_type grid) const