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

Comparing deliantra/server/server/spell_util.C (file contents):
Revision 1.15 by root, Thu Sep 14 22:34:05 2006 UTC vs.
Revision 1.16 by root, Thu Sep 14 23:13:49 2006 UTC

1688 break; 1688 break;
1689 1689
1690 case SP_MAGIC_MISSILE: 1690 case SP_MAGIC_MISSILE:
1691 if (QUERY_FLAG (victim, FLAG_ALIVE)) 1691 if (QUERY_FLAG (victim, FLAG_ALIVE))
1692 { 1692 {
1693 tag_t spell_tag = spell->count;
1694
1695 hit_player (victim, spell->stats.dam, spell, spell->attacktype, 1); 1693 hit_player (victim, spell->stats.dam, spell, spell->attacktype, 1);
1696 if (!was_destroyed (spell, spell_tag)) 1694
1695 if (!spell->destroyed ())
1697 { 1696 {
1698 remove_ob (spell); 1697 remove_ob (spell);
1699 free_object (spell); 1698 free_object (spell);
1700 } 1699 }
1701 } 1700 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines