fix whitespace errors from simultaneous commit
This commit is contained in:
+3
-5
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 monmove.c $NHDT-Date: 1431195024 2015/05/09 18:10:24 $ $NHDT-Branch: master $:$NHDT-Revision: 1.67 $ */
|
/* NetHack 3.6 monmove.c $NHDT-Date: 1431195533 2015/05/09 18:18:53 $ $NHDT-Branch: master $:$NHDT-Revision: 1.69 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -124,8 +124,7 @@ struct monst *mtmp;
|
|||||||
boolean epresent = sengr_at("Elbereth", x, y, TRUE);
|
boolean epresent = sengr_at("Elbereth", x, y, TRUE);
|
||||||
|
|
||||||
/* creatures who are directly resistant to magical scaring:
|
/* creatures who are directly resistant to magical scaring:
|
||||||
* Rodney, lawful minions, angels, the Riders
|
* Rodney, lawful minions, angels, the Riders */
|
||||||
*/
|
|
||||||
if (mtmp->iswiz || is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL]
|
if (mtmp->iswiz || is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL]
|
||||||
|| is_rider(mtmp->data))
|
|| is_rider(mtmp->data))
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
@@ -147,8 +146,7 @@ struct monst *mtmp;
|
|||||||
* isn't displaced to the square, no protection is being granted
|
* isn't displaced to the square, no protection is being granted
|
||||||
*
|
*
|
||||||
* Elbereth doesn't work in Gehennom, the Elemental Planes, or the
|
* Elbereth doesn't work in Gehennom, the Elemental Planes, or the
|
||||||
* Astral Plane; the influence of the Valar only reaches so far.
|
* Astral Plane; the influence of the Valar only reaches so far. */
|
||||||
*/
|
|
||||||
return (epresent
|
return (epresent
|
||||||
&& ((u.ux == x && u.uy == y)
|
&& ((u.ux == x && u.uy == y)
|
||||||
|| (Displaced && mtmp->mux == x && mtmp->muy == y))
|
|| (Displaced && mtmp->mux == x && mtmp->muy == y))
|
||||||
|
|||||||
Reference in New Issue
Block a user