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

Comparing deliantra/server/server/rune.C (file contents):
Revision 1.26 by root, Mon Jun 4 12:19:09 2007 UTC vs.
Revision 1.27 by root, Mon Jun 4 13:04:00 2007 UTC

276 if (victim->type == PLAYER) // only count players as enemies 276 if (victim->type == PLAYER) // only count players as enemies
277 trap->enemy = victim; // set the victim as the traps enemy, so that summoned 277 trap->enemy = victim; // set the victim as the traps enemy, so that summoned
278 // creatures know who to attack. 278 // creatures know who to attack.
279 279
280 /* Only if it is a spell do we proceed here */ 280 /* Only if it is a spell do we proceed here */
281 if ((trap->inv && trap->inv->type == SPELL) || (trap->other_arch && trap->other_arch->clone.type == SPELL)) 281 if ((trap->inv && trap->inv->type == SPELL) || (trap->other_arch && trap->other_arch->type == SPELL))
282 { 282 {
283 283
284 if (trap->destroyed ()) 284 if (trap->destroyed ())
285 return; 285 return;
286 286

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines