diff options
author | Neil Moore <neil@s-z.org> | 2012-08-04 17:07:35 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-08-04 17:07:35 -0400 |
commit | 9ded5c58d6d9295a8384175c21a7130f1926874c (patch) | |
tree | 4ee8132c178b9c0d5ced394845a29c11b3beb0d9 /crawl-ref/source/wiz-fsim.cc | |
parent | 6f473416a0b6cffe0759a792ac536c739c4a395f (diff) | |
download | crawl-ref-9ded5c58d6d9295a8384175c21a7130f1926874c.tar.gz crawl-ref-9ded5c58d6d9295a8384175c21a7130f1926874c.zip |
Allow fsim on already-encountered unique (#5981).
Diffstat (limited to 'crawl-ref/source/wiz-fsim.cc')
-rw-r--r-- | crawl-ref/source/wiz-fsim.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-fsim.cc b/crawl-ref/source/wiz-fsim.cc index d86332dc1b..79e9b9c139 100644 --- a/crawl-ref/source/wiz-fsim.cc +++ b/crawl-ref/source/wiz-fsim.cc @@ -236,6 +236,11 @@ static monster* _init_fsim() return NULL; } mtype = get_monster_by_name(specs); + + // Wizmode users should be able to conjure up uniques even if they + // were already created. + if (mons_is_unique(mtype) && you.unique_creatures[mtype]) + you.unique_creatures[mtype] = false; } mon = create_monster( |