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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.63 by root, Mon Jan 29 15:36:25 2007 UTC vs.
Revision 1.64 by root, Mon Feb 5 01:24:45 2007 UTC

3820 /* check for hp, sp change */ 3820 /* check for hp, sp change */
3821 if (food->stats.hp != 0) 3821 if (food->stats.hp != 0)
3822 { 3822 {
3823 if (QUERY_FLAG (food, FLAG_CURSED)) 3823 if (QUERY_FLAG (food, FLAG_CURSED))
3824 { 3824 {
3825 strcpy (who->contr->killer, food->name); 3825 assign (who->contr->killer, food->name);
3826 hit_player (who, food->stats.hp, food, AT_POISON, 1); 3826 hit_player (who, food->stats.hp, food, AT_POISON, 1);
3827 new_draw_info (NDI_UNIQUE, 0, who, "Eck!...that was poisonous!"); 3827 new_draw_info (NDI_UNIQUE, 0, who, "Eck!...that was poisonous!");
3828 } 3828 }
3829 else 3829 else
3830 { 3830 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines