From fb5353a63a8a65241ae7ba2613916135af3ee201 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 10 Aug 2014 20:51:01 -0400 Subject: keep species_name up to date when changing species --- crawl-ref/source/wiz-you.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/crawl-ref/source/wiz-you.cc b/crawl-ref/source/wiz-you.cc index bc3bbe7ac9..1b49b4e282 100644 --- a/crawl-ref/source/wiz-you.cc +++ b/crawl-ref/source/wiz-you.cc @@ -98,6 +98,7 @@ static void _wizard_change_species_to(species_type sp) species_type old_sp = you.species; you.species = sp; + you.species_name = species_name(sp); you.is_undead = get_undead_state(sp); // Change permanent mutations, but preserve non-permanent ones. -- cgit v1.2.3-54-g00ecf