diff options
-rw-r--r-- | crawl-ref/source/monstuff.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/monstuff.h | 3 | ||||
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index ebfcaebf5e..2d77ae7c63 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1834,7 +1834,8 @@ static void handle_behaviour(monsters *mon) // permitting output of "It" messages for the invisible {dlb} // Intentionally avoids info and str_pass now. -- bwr bool simple_monster_message(const monsters *monster, const char *event, - int channel, int param) + int channel, int param, + description_level_type descrip) { char buff[INFO_SIZE]; @@ -1842,7 +1843,7 @@ bool simple_monster_message(const monsters *monster, const char *event, && (channel == MSGCH_MONSTER_SPELL || player_monster_visible(monster))) { snprintf( buff, sizeof(buff), "%s%s", - ptr_monam(monster, DESC_CAP_THE), event ); + ptr_monam(monster, descrip), event ); mpr( buff, channel, param ); return (true); diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h index 5b38a2f76a..cc308c6a77 100644 --- a/crawl-ref/source/monstuff.h +++ b/crawl-ref/source/monstuff.h @@ -88,7 +88,8 @@ bool random_near_space( int ox, int oy, int &tx, int &ty, * spells2 - spells4 * *********************************************************************** */ bool simple_monster_message(const monsters *monster, const char *event, - int channel = MSGCH_PLAIN, int param = 0); + int channel = MSGCH_PLAIN, int param = 0, + description_level_type descrip = DESC_CAP_THE); /* *********************************************************************** * called from: acr diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index ede520732b..186d1f9ce7 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -870,7 +870,8 @@ void monster_teleport(struct monsters *monster, bool instan, bool silent) if (was_seen) simple_monster_message(monster, " reappears nearby!"); else - simple_monster_message(monster, " appears out of thin air!"); + simple_monster_message(monster, " appears out of thin air!", + MSGCH_PLAIN, 0, DESC_CAP_A); } if (player_monster_visible(monster) && now_visible) |