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

Comparing deliantra/server/server/spell_attack.C (file contents):
Revision 1.39 by root, Mon Jun 4 13:04:01 2007 UTC vs.
Revision 1.40 by root, Thu Jun 7 18:58:30 2007 UTC

2099 if (infect_object (walk, disease, 1)) 2099 if (infect_object (walk, disease, 1))
2100 { 2100 {
2101 new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name); 2101 new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name);
2102 2102
2103 disease->destroy (); /* don't need this one anymore */ 2103 disease->destroy (); /* don't need this one anymore */
2104 walk->map->insert (get_archetype (ARCH_DETECT_MAGIC), x, y, op); 2104 walk->map->insert (get_archetype ("detect_magic"), x, y, op);
2105 return 1; 2105 return 1;
2106 } 2106 }
2107 2107
2108 disease->destroy (); 2108 disease->destroy ();
2109 } 2109 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines