Cannot kick while squeezed on top of a boulder

This commit is contained in:
Pasi Kallinen
2022-09-05 11:21:19 +03:00
parent 8bf5654eed
commit f58f43bd78
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1019,6 +1019,7 @@ monsters can blind you with a camera
lit candles generated by wishing could have wrong light radius lit candles generated by wishing could have wrong light radius
better feedback from detect unseen better feedback from detect unseen
make public server admin messages use urgent_pline make public server admin messages use urgent_pline
cannot kick while squeezed on top of a boulder
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
+3
View File
@@ -905,6 +905,9 @@ dokick(void)
default: default:
break; break;
} }
} else if (sobj_at(BOULDER, u.ux, u.uy) && !Passes_walls) {
pline("There's not enough room to kick in here.");
no_kick = TRUE;
} }
if (no_kick) { if (no_kick) {