Fix inverted logic, and simplify.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7160 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on October 6, 2008
XW4ZV2FCTDSREY5ETAZTHQ2VWF7B2LGAGZGRTBJRJKIHT6ZWE3WQC
Change contents