From: Hourier Date: Sun, 17 Jan 2021 08:08:08 +0000 (+0900) Subject: [Fix] #41149 落馬する確率が異常に高かったのを修正 / Resolved the issue that player frequently falls... X-Git-Tag: vmacos3.0.0-alpha52~509^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=61d6be186b5552d3a1ff8ff791cce142526f1834;p=hengbandforosx%2Fhengbandosx.git [Fix] #41149 落馬する確率が異常に高かったのを修正 / Resolved the issue that player frequently falls off the horse --- diff --git a/src/pet/pet-fall-off.c b/src/pet/pet-fall-off.c index 7b57bd598..cad042504 100644 --- a/src/pet/pet-fall-off.c +++ b/src/pet/pet-fall-off.c @@ -101,7 +101,8 @@ bool process_fall_off_horse(player_type *creature_ptr, HIT_POINT dam, bool force return FALSE; if (dam >= 0 || force) { - calc_fall_off_possibility(creature_ptr, dam, force, r_ptr); + if (!calc_fall_off_possibility(creature_ptr, dam, force, r_ptr)) + return FALSE; /* Check around the player */ for (DIRECTION i = 0; i < 8; i++) {