Add assert to ensure that the previous logic bug doesn't show up again.

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

Created by  dolorous  on April 9, 2008
X7A4RAIK5OHSIOIO2PFJR35EOP5RQ3Z5IB7KWFOW2GXEF3AT63AQC
Change contents