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.38 by pippijn, Sat Jan 6 14:42:30 2007 UTC vs.
Revision 1.39 by root, Mon Jan 8 01:19:03 2007 UTC

1964 1964
1965 tmp->stats.hp = op->stats.hp; 1965 tmp->stats.hp = op->stats.hp;
1966 1966
1967 if (friendly) 1967 if (friendly)
1968 { 1968 {
1969 SET_FLAG (tmp, FLAG_FRIENDLY);
1970 add_friendly_object (tmp); 1969 add_friendly_object (tmp);
1971 tmp->attack_movement = PETMOVE; 1970 tmp->attack_movement = PETMOVE;
1971
1972 if (owner != NULL) 1972 if (owner)
1973 tmp->set_owner (owner); 1973 tmp->set_owner (owner);
1974 } 1974 }
1975 1975
1976 if (unaggressive) 1976 if (unaggressive)
1977 SET_FLAG (tmp, FLAG_UNAGGRESSIVE); 1977 SET_FLAG (tmp, FLAG_UNAGGRESSIVE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines