or no god, even if you weren't worshipping a good god before, so that if Xom has sent you one, and you dump him for an evil god, it'll turn on you properly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6462 c06c8d41-db1a-0410-9941-cceddc491573
O3AJQKXZVNWBUUV2IPKFXK4G5AWX2ZXEWQ2NHHWBTT3GDLGU3GYQC
// When you leave one of the good gods for a non-good god, or no
// god, you make all non-hostile holy beings hostile.
if (is_good_god(old_god) && !is_good_god(new_god)
&& _holy_beings_attitude_change())
{
// When you start worshipping a non-good god, or no god, you make
// all non-hostile holy beings hostile.
if (!is_good_god(new_god) && _holy_beings_attitude_change())