git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9495 c06c8d41-db1a-0410-9941-cceddc491573
UH5I5Z4HRD7QT3J2MCWSAK3VYBSO4WOMU3OCUIIEMN73CURCRK3AC PV2CTRHFI6Y5EHNSY5GBVISTI7QCK4JAOS27AQIC7GGFZAVO7CBQC UAMTRP57YR6YEGISYHREA25LXMH6GBTZC7MRBIOX6G4GFQIHLW4QC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC ZEFGFQHN6J2S6EIPX7EPDG22C5YXTI6DMKQHHRCLWN5MQC44KY3AC JWJGOMVBPZRSP2VSHLFFFDIF2CS6UPBA6AHL7DAJWGBCHAV3PJDQC 53BVN4ZHKGUAJE53HM6FC6GKUGXOU5QBUT7CLXV2ONS6S5NPW55AC WQIEW3O4MANA2KKYRUWEZP44KHVJ4RRHEZTDXSF4EDELX66LO26QC X5WLJCJVW55SXZVP7IKP7ADCJIGNKN4PKAXFECVR6TNK7XSMZR7QC 4UXFU3FZOCBSLDQ4S7MJKAE2H7VUHCNRDQMIY6NJ3PHYXWNGISDQC EJYK3CKIEMP4NMZUCMUYLHIBE7A3LPZOU7DUON5V7CPHY7QEKLEAC 3BJ2OOF4F524G6UKVGOZVT6W3FSTSHHTKRJADUBZCHDXZWV3KANQC NVSFIV2ZKP44XHCSCXG6OZVGL67OIFINC34J2EMKTA4KULCERUEAC SCXTTP2FDNB2A7F4XXGXSSOEKZQ7ODDGN5YBCTZXGZ22CLCEH3WQC 4SWAT5KCKQV527NKELAXFQ5XA4Q5HONQXD4VBXMUZNPVPQKPCPNAC // If the monster's a priest, assume summons come from priestly// abilities, in which case they'll have the same god. If the// monster is neither a priest nor a wizard, assume summons come// from intrinsic abilities, in which case they'll also have the// same god.const bool priest = mons_class_flag(monster->type, M_PRIEST);const bool wizard = mons_class_flag(monster->type, M_ACTUAL_SPELLS);god_type god = (priest || !(priest || wizard)) ? monster->god : GOD_NO_GOD;
if (mons_is_shapeshifter(monster)&& (mons_class_flag(monster->type, M_ACTUAL_SPELLS)|| mons_class_flag(monster->type, M_PRIEST))){
if (mons_is_shapeshifter(monster) && (priest || wizard))