diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-29 10:40:35 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-29 10:40:35 -0500 |
commit | c180044aa2caf76b61e7ff6e816a774f34cc346b (patch) | |
tree | bfce45d849bb7e6354f905c1ec3684a4071e1c32 | |
parent | 856829a7daceeb108d1bc66af676d7dae800d90f (diff) | |
download | crawl-ref-c180044aa2caf76b61e7ff6e816a774f34cc346b.tar.gz crawl-ref-c180044aa2caf76b61e7ff6e816a774f34cc346b.zip |
Simplify.
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index ca687ed978..d336af52f2 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -2526,7 +2526,7 @@ bool ugly_thing_mutate(monsters *ugly, bool proximity) { monsters *ugly_near = monster_at(*ri); - if (ugly_near == NULL + if (!ugly_near || ugly_near->type != MONS_UGLY_THING && ugly_near->type != MONS_VERY_UGLY_THING) { |