Fix vault guard impossible
... when the guard is angry, and he's in the vault or in his corridor, you're not in the vault nor in his corridor, and the level is full so the guard cannot relocate.
This commit is contained in:
@@ -775,9 +775,10 @@ register struct monst *grd;
|
||||
if (!u_in_vault
|
||||
&& (grd_in_vault || (in_fcorridor(grd, grd->mx, grd->my)
|
||||
&& !in_fcorridor(grd, u.ux, u.uy)))) {
|
||||
(void) rloc(grd, FALSE);
|
||||
(void) rloc(grd, TRUE);
|
||||
wallify_vault(grd);
|
||||
(void) clear_fcorr(grd, TRUE);
|
||||
if (!in_fcorridor(grd, grd->mx, grd->my))
|
||||
(void) clear_fcorr(grd, TRUE);
|
||||
goto letknow;
|
||||
}
|
||||
if (!in_fcorridor(grd, grd->mx, grd->my))
|
||||
|
||||
Reference in New Issue
Block a user