From f22bd308c51e4f4425210e98d6623a6ed2be344a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 30 May 2008 10:44:02 +0000 Subject: Just for kicks, reuse monster property mname to name zombies/skeletons raised from unique monster's corpses. The unique number is stored in orig_monnum, so this doesn't apply to orcish followers. I thought it would be cool to have Sigmund the human zombie in your ranks, or to fight againt Blork the orc skeleton. The corpses are currently not differentiated (just "human corpse", "orc skeleton"), just the resulting undead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5343 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 7973e56655..22e0b7357a 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -351,6 +351,7 @@ static void _place_monster_corpse(const monsters *monster) mitm[o].base_type = OBJ_UNASSIGNED; return; } + origin_set_monster(mitm[o], monster); // Don't care if 'o' is changed, and it shouldn't be (corpses don't stack). move_item_to_grid( &o, monster->x, monster->y ); -- cgit v1.2.3-54-g00ecf