Flying should not allow monsters to walk on the wall of water
Also applies to levitating monsters.
This commit is contained in:
@@ -1779,7 +1779,7 @@ mfndpos(
|
|||||||
|
|
||||||
nodiag = NODIAG(mdat - mons);
|
nodiag = NODIAG(mdat - mons);
|
||||||
wantpool = (mdat->mlet == S_EEL);
|
wantpool = (mdat->mlet == S_EEL);
|
||||||
poolok = ((!Is_waterlevel(&u.uz)
|
poolok = ((!Is_waterlevel(&u.uz) && !(nowtyp != WATER)
|
||||||
&& (is_flyer(mdat) || is_floater(mdat) || is_clinger(mdat)))
|
&& (is_flyer(mdat) || is_floater(mdat) || is_clinger(mdat)))
|
||||||
|| (is_swimmer(mdat) && !wantpool));
|
|| (is_swimmer(mdat) && !wantpool));
|
||||||
/* note: floating eye is the only is_floater() so this could be
|
/* note: floating eye is the only is_floater() so this could be
|
||||||
|
|||||||
Reference in New Issue
Block a user