Another round of instance globals changes.
This commit is contained in:
@@ -264,7 +264,7 @@ struct obj *obj;
|
||||
struct monst *mtmp = 0;
|
||||
|
||||
/* find a queen bee */
|
||||
if ((mvitals[PM_QUEEN_BEE].mvflags & G_GENOD) == 0)
|
||||
if ((g.mvitals[PM_QUEEN_BEE].mvflags & G_GENOD) == 0)
|
||||
for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
|
||||
if (DEADMONSTER(mtmp))
|
||||
continue;
|
||||
@@ -1731,7 +1731,7 @@ boolean
|
||||
can_fog(mtmp)
|
||||
struct monst *mtmp;
|
||||
{
|
||||
if (!(mvitals[PM_FOG_CLOUD].mvflags & G_GENOD) && is_vampshifter(mtmp)
|
||||
if (!(g.mvitals[PM_FOG_CLOUD].mvflags & G_GENOD) && is_vampshifter(mtmp)
|
||||
&& !Protection_from_shape_changers && !stuff_prevents_passage(mtmp))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user