Items thrown by monsters landing on an altar
This commit is contained in:
@@ -1132,6 +1132,7 @@ falling into lava, being life-saved, and teleporting out could yield redundant
|
|||||||
if hero had passes-walls capability and was at the location of a closed door,
|
if hero had passes-walls capability and was at the location of a closed door,
|
||||||
attempting to use 'o' on own spot reported "you don't find anything
|
attempting to use 'o' on own spot reported "you don't find anything
|
||||||
here to loot"; change to open door for '.' (or '<'), only loot for '>'
|
here to loot"; change to open door for '.' (or '<'), only loot for '>'
|
||||||
|
items thrown by monster landing on an altar did not show BUC flash
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||||
|
|||||||
@@ -299,6 +299,8 @@ flooreffects(struct obj *obj, coordxy x, coordxy y, const char *verb)
|
|||||||
(void) obj_meld(&obj, &otmp);
|
(void) obj_meld(&obj, &otmp);
|
||||||
}
|
}
|
||||||
res = (boolean) !obj;
|
res = (boolean) !obj;
|
||||||
|
} else if (IS_ALTAR(levl[x][y].typ) && cansee(x,y)) {
|
||||||
|
doaltarobj(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
gb.bhitpos = save_bhitpos;
|
gb.bhitpos = save_bhitpos;
|
||||||
@@ -314,7 +316,7 @@ doaltarobj(struct obj *obj)
|
|||||||
|
|
||||||
if (obj->oclass != COIN_CLASS) {
|
if (obj->oclass != COIN_CLASS) {
|
||||||
/* KMH, conduct */
|
/* KMH, conduct */
|
||||||
if (!u.uconduct.gnostic++)
|
if (!gc.context.mon_moving && !u.uconduct.gnostic++)
|
||||||
livelog_printf(LL_CONDUCT,
|
livelog_printf(LL_CONDUCT,
|
||||||
"eschewed atheism, by dropping %s on an altar",
|
"eschewed atheism, by dropping %s on an altar",
|
||||||
doname(obj));
|
doname(obj));
|
||||||
|
|||||||
Reference in New Issue
Block a user