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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.225 by root, Thu Jan 1 18:35:48 2009 UTC vs.
Revision 1.226 by root, Thu Jan 1 20:49:48 2009 UTC

1322 } 1322 }
1323 } 1323 }
1324 else if (arrow->type == ARROW && arrow->race == type) 1324 else if (arrow->type == ARROW && arrow->race == type)
1325 { 1325 {
1326 /* allways prefer assasination/slaying */ 1326 /* allways prefer assasination/slaying */
1327 if (target->race && arrow->slaying && arrow->slaying.contains (target->race)) 1327 if (target->race && arrow->slaying.contains (target->race))
1328 { 1328 {
1329 if (arrow->attacktype & AT_DEATH) 1329 if (arrow->attacktype & AT_DEATH)
1330 { 1330 {
1331 *better = 100; 1331 *better = 100;
1332 return arrow; 1332 return arrow;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines