diff options
-rw-r--r-- | crawl-ref/source/directn.cc | 26 | ||||
-rw-r--r-- | crawl-ref/source/misc.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/monstuff.cc | 6 |
3 files changed, 19 insertions, 15 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 9a10ab20b3..4d314402b2 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -460,18 +460,26 @@ void full_describe_view() if (oid == NON_ITEM) continue; - std::vector<item_def> items = item_list_in_stash(*ri); - -#ifdef DEBUG_DIAGNOSTICS - if (items.empty()) + if (StashTracker::is_level_untrackable()) { - mprf(MSGCH_ERROR, "No items found in stash, but top item is %s", - mitm[oid].name(DESC_PLAIN).c_str()); - more(); + // On levels with no stashtracker, you can still see the top + // item. + list_items.push_back(mitm[oid]); } -#endif + else + { + const std::vector<item_def> items = item_list_in_stash(*ri); - list_items.insert(list_items.end(), items.begin(), items.end()); +#ifdef DEBUG_DIAGNOSTICS + if (items.empty()) + { + mprf(MSGCH_ERROR, "No items found in stash, but top item is %s", + mitm[oid].name(DESC_PLAIN).c_str()); + more(); + } +#endif + list_items.insert(list_items.end(), items.begin(), items.end()); + } } // Get monsters via the monster_pane_info, sorted by difficulty. diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 8781e201ce..fc185766a6 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2079,7 +2079,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, switch (NUMBER_OF_RUNES_NEEDED) { case 1: - mpr("You need one more Rune to enter this place."); + mpr("You need a Rune to enter this place."); break; default: diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index f141d7da4c..e15e4bf1eb 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -7081,11 +7081,7 @@ static void _handle_monster_move(monsters *monster) || one_chance_in(5)) && expose_items_to_element(BEAM_STEAL_FOOD, monster->pos(), 10)) { - if (mons_near(monster) && player_monster_visible(monster)) - { - simple_monster_message(monster, - " eats something on the ground."); - } + simple_monster_message(monster, " eats something on the ground."); monster->speed_increment -= non_move_energy; continue; } |