rather than just Xom.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5361 c06c8d41-db1a-0410-9941-cceddc491573
7KXNVHSFUSEKT6ORWIWRF7JMHO2DNM6HDQZC65W6DG4RE2KJXRBAC
5DIQLTSSQEPB2LWRLU56Z5OE6DSDCLB43Y4O7AD4NTSZRIPVCSVAC
ONKB2ZZ2MWY7UGPBHW6EE4N3EEPJONPRRALEFZZR2YTZHNEIGV5AC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
3NFVCXRVGHN2CHLLWFZES5RBS4R2BCDS4EEQNSDCFYIFQWQK7MUQC
}static bool _god_accepts_prayer(god_type type){ switch(type) { case GOD_VEHUMET: case GOD_XOM: case GOD_SHINING_ONE: case GOD_SIF_MUNA: case GOD_KIKUBAAQUDGHA: case GOD_NO_GOD: return false; default: break; } return true;
}
static bool _god_accepts_prayer(god_type type)
{
switch(type)
case GOD_VEHUMET:
case GOD_XOM:
case GOD_SHINING_ONE:
case GOD_SIF_MUNA:
case GOD_KIKUBAAQUDGHA:
case GOD_NO_GOD:
return false;
default:
break;
return true;
else if (you.religion == GOD_XOM)
else if (!_god_accepts_prayer(you.religion))
god_speaks(you.religion, "Xom ignores you.");
std::string msg = god_name(you.religion) + " ignores you."; god_speaks(you.religion, msg.c_str());
std::string msg = god_name(you.religion) + " ignores you.";
god_speaks(you.religion, msg.c_str());