diagonal blockage exceptions
From a bug report, amorphous creatures can fit underneath closed doors but could still be considered too big to fit through diagonal gaps. Let them and several other shapeless or flexibly shaped critters squeeze through provided that they pass the not-carrying-too-much check.
This commit is contained in:
@@ -724,6 +724,7 @@ E void FDECL(movobj, (struct obj *,XCHAR_P,XCHAR_P));
|
||||
E boolean FDECL(may_dig, (XCHAR_P,XCHAR_P));
|
||||
E boolean FDECL(may_passwall, (XCHAR_P,XCHAR_P));
|
||||
E boolean FDECL(bad_rock, (struct permonst *,XCHAR_P,XCHAR_P));
|
||||
E int FDECL(cant_squeeze_thru, (struct monst *));
|
||||
E boolean FDECL(invocation_pos, (XCHAR_P,XCHAR_P));
|
||||
E boolean FDECL(test_move, (int, int, int, int, int));
|
||||
E void NDECL(domove);
|
||||
|
||||
Reference in New Issue
Block a user