OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4324ee6
)
[Fix] #41149 落馬する確率が異常に高かったのを修正 / Resolved the issue that player frequently falls...
author
Hourier
<hourier@users.sourceforge.jp>
Sun, 17 Jan 2021 08:08:08 +0000
(17:08 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sun, 17 Jan 2021 08:08:08 +0000
(17:08 +0900)
src/pet/pet-fall-off.c
patch
|
blob
|
history
diff --git
a/src/pet/pet-fall-off.c
b/src/pet/pet-fall-off.c
index
7b57bd5
..
cad0425
100644
(file)
--- 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++) {