Fix some more compile warnings that look like they were pointing out bugs.

(don't compare bool to int; don't << a variable number of bits)

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

Created by  pauldubois  on March 10, 2008
RQ5BHJAAOAOZNNWTV2NASZIBUESG2JKIITT6IGQ3CHVSY6RY3KYAC
Change contents