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.39 by root, Sun Jan 4 22:39:59 2009 UTC vs.
Revision 1.40 by root, Thu Jan 8 04:35:05 2009 UTC

237 /* Prevent recursion */ 237 /* Prevent recursion */
238 if (trap->stats.hp <= 0) 238 if (trap->stats.hp <= 0)
239 return; 239 return;
240 240
241 if (QUERY_FLAG (trap, FLAG_IS_LINKED)) 241 if (QUERY_FLAG (trap, FLAG_IS_LINKED))
242 use_trigger (trap); 242 use_trigger (trap, victim);
243 243
244 /* Only living objects can trigger runes that don't cast spells, as 244 /* Only living objects can trigger runes that don't cast spells, as
245 * doing direct damage to a non-living object doesn't work anyway. 245 * doing direct damage to a non-living object doesn't work anyway.
246 * Typical example is an arrow attacking a door. 246 * Typical example is an arrow attacking a door.
247 */ 247 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines