Make STEED unconditional.
This commit is contained in:
12
src/lock.c
12
src/lock.c
@@ -749,19 +749,11 @@ doclose() /* try to close a door */
|
||||
}
|
||||
|
||||
if(door->doormask == D_ISOPEN) {
|
||||
if(verysmall(youmonst.data)
|
||||
#ifdef STEED
|
||||
&& !u.usteed
|
||||
#endif
|
||||
) {
|
||||
if(verysmall(youmonst.data) && !u.usteed) {
|
||||
pline("You're too small to push the door closed.");
|
||||
return res;
|
||||
}
|
||||
if (
|
||||
#ifdef STEED
|
||||
u.usteed ||
|
||||
#endif
|
||||
rn2(25) < (ACURRSTR+ACURR(A_DEX)+ACURR(A_CON))/3) {
|
||||
if ( u.usteed || rn2(25) < (ACURRSTR+ACURR(A_DEX)+ACURR(A_CON))/3) {
|
||||
pline_The("door closes.");
|
||||
door->doormask = D_CLOSED;
|
||||
if (Blind)
|
||||
|
||||
Reference in New Issue
Block a user