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.21 by root, Thu Sep 21 18:58:39 2006 UTC vs.
Revision 1.22 by root, Fri Sep 29 11:53:09 2006 UTC

1675 } 1675 }
1676 else 1676 else
1677 { 1677 {
1678 /* Player has been killed! */ 1678 /* Player has been killed! */
1679 if (owner->type == PLAYER) 1679 if (owner->type == PLAYER)
1680 snprintf (op->contr->killer, BIG_NAME, "%s the %s", &owner->name, owner->contr->title); 1680 snprintf (op->contr->killer, sizeof (op->contr->killer), "%s the %s", &owner->name, owner->contr->title);
1681 else 1681 else
1682 assign (op->contr->killer, hitter->name); 1682 assign (op->contr->killer, hitter->name);
1683 } 1683 }
1684 1684
1685 /* This was return -1 - that doesn't seem correct - if we return -1, process 1685 /* This was return -1 - that doesn't seem correct - if we return -1, process

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines