ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/attack.C
(Generate patch)

Comparing deliantra/server/server/attack.C (file contents):
Revision 1.35 by root, Sun Dec 31 10:28:36 2006 UTC vs.
Revision 1.36 by pippijn, Wed Jan 3 00:21:36 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines