diff --git a/doc/fixes34.2 b/doc/fixes34.2 index 3b3675446..3f7663312 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -126,6 +126,7 @@ do not let an attached iron ball drag the hero through a location that the hero hero's appearance should change immediately after mimicing completes avoid some uses of "it" in killer messages avoid "singular of null?" warning for info lookup of obscure user input +there was no check for iron bars in dokick() so it defaulted to "empty space" Platform- and/or Interface-Specific Fixes diff --git a/src/dokick.c b/src/dokick.c index 7c146256d..751fe0520 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -879,7 +879,7 @@ dokick() exercise(A_DEX, TRUE); return(1); } - if(IS_GRAVE(maploc->typ)) + if(IS_GRAVE(maploc->typ) || maploc->typ == IRONBARS) goto ouch; if(IS_TREE(maploc->typ)) { struct obj *treefruit;