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.43 by root, Thu Jul 5 08:10:30 2007 UTC vs.
Revision 1.45 by root, Wed Aug 1 00:26:03 2007 UTC

483 483
484 /* Prevent recursion */ 484 /* Prevent recursion */
485 op->move_on = 0; 485 op->move_on = 0;
486 486
487 tmp->insert_at (op, op); 487 tmp->insert_at (op, op);
488 tmp->play_sound (tmp->sound);
489
488 /* remove the firebullet */ 490 /* remove the firebullet */
489 op->destroy (); 491 op->destroy ();
490} 492}
491 493
492/* checks to see what op should do, given the space it is on 494/* checks to see what op should do, given the space it is on
1085 * op = player 1087 * op = player
1086 * caster = object casting the spell. 1088 * caster = object casting the spell.
1087 * dir = direction being cast 1089 * dir = direction being cast
1088 * spell = spell object 1090 * spell = spell object
1089 */ 1091 */
1090
1091int 1092int
1092cast_smite_spell (object *op, object *caster, int dir, object *spell) 1093cast_smite_spell (object *op, object *caster, int dir, object *spell)
1093{ 1094{
1094 object *effect, *target; 1095 object *effect, *target;
1095 object *god = find_god (determine_god (op)); 1096 object *god = find_god (determine_god (op));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines