… | |
… | |
1827 | (hitter->title != NULL |
1827 | (hitter->title != NULL |
1828 | && (god = find_god (determine_god (hitter))) != NULL && god->race != NULL && strstr (god->race, undead_name) != NULL))) |
1828 | && (god = find_god (determine_god (hitter))) != NULL && god->race != NULL && strstr (god->race, undead_name) != NULL))) |
1829 | return 0; |
1829 | return 0; |
1830 | } |
1830 | } |
1831 | |
1831 | |
1832 | maxattacktype = type; /* initialize this to something */ |
1832 | maxattacktype = type; /* initialise this to something */ |
1833 | for (attacknum = 0; attacknum < NROFATTACKS; attacknum++, attacktype = 1 << attacknum) |
1833 | for (attacknum = 0; attacknum < NROFATTACKS; attacknum++, attacktype = 1 << attacknum) |
1834 | { |
1834 | { |
1835 | /* Magic isn't really a true attack type - it gets combined with other |
1835 | /* Magic isn't really a true attack type - it gets combined with other |
1836 | * attack types. As such, skip it over. However, if magic is |
1836 | * attack types. As such, skip it over. However, if magic is |
1837 | * the only attacktype in the group, then still attack with it |
1837 | * the only attacktype in the group, then still attack with it |