From: Deskull Date: Thu, 13 Dec 2018 13:18:00 +0000 (+0900) Subject: [Feature] #38796 水流耐性時溺れない仕様を追加。 / Add feature of no drawn when player has water... X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1e56b207ec7950b37a8296f591913ab9f6766fec;p=hengband%2Fhengband.git [Feature] #38796 水流耐性時溺れない仕様を追加。 / Add feature of no drawn when player has water resist. --- diff --git a/src/dungeon.c b/src/dungeon.c index 1790122ae..ea17378ba 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -1505,7 +1505,7 @@ static void process_world_aux_hp_and_sp(void) } if (have_flag(f_ptr->flags, FF_WATER) && have_flag(f_ptr->flags, FF_DEEP) && - !p_ptr->levitation && !p_ptr->can_swim) + !p_ptr->levitation && !p_ptr->can_swim && !p_ptr->res_water) { if (p_ptr->total_weight > weight_limit()) {