From 9ec4ec86a3fbd6067b41d82bf180a99c0a5b9529 Mon Sep 17 00:00:00 2001 From: David Ploog Date: Mon, 19 Oct 2009 05:58:41 +0200 Subject: Naming monsters via MONS: rat name:Yves (Jude & Vsevolod). --- crawl-ref/source/mapdef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mapdef.h') diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index a7b9bc4d9b..85c8484aef 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -432,6 +432,7 @@ class mons_spec int colour; item_list items; + std::string monname; mons_spec(int id = RANDOM_MONSTER, monster_type base = MONS_PROGRAM_BUG, @@ -441,7 +442,7 @@ class mons_spec : mid(id), place(), monbase(base), attitude(ATT_HOSTILE), number(num), quantity(1), genweight(gw), mlevel(ml), fix_mons(_fixmons), generate_awake(awaken), patrolling(false), band(false), - colour(BLACK), items() + colour(BLACK), items(), monname("") { } }; -- cgit v1.2.3-54-g00ecf