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

Comparing deliantra/server/server/spell_effect.C (file contents):
Revision 1.32 by pippijn, Sat Jan 6 14:42:31 2007 UTC vs.
Revision 1.33 by root, Sun Jan 7 02:39:14 2007 UTC

412 update_object (op, UP_OBJ_FACE); 412 update_object (op, UP_OBJ_FACE);
413 413
414 /* Only search the active objects - only these should actually do 414 /* Only search the active objects - only these should actually do
415 * harm to the player. 415 * harm to the player.
416 */ 416 */
417 for (tmp = active_objects; tmp != NULL; tmp = tmp->active_next) 417 for_all_actives (tmp)
418 if (tmp->enemy == op) 418 if (tmp->enemy == op)
419 tmp->enemy = NULL; 419 tmp->enemy = 0;
420
420 return 1; 421 return 1;
421} 422}
422 423
423/* earth to dust spell. Basically destroys earthwalls in the area. 424/* earth to dust spell. Basically destroys earthwalls in the area.
424 */ 425 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines