compile error, but I still think the logic is still incorrect; can someone check who knows the code better check this out?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3570 c06c8d41-db1a-0410-9941-cceddc491573
L7G767VEPTZOILF3VTTKFAAZTJ4NPOLXCFUPF2FKJSGAGSUBW5NAC