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.118 by root, Sun Apr 11 04:25:25 2010 UTC vs.
Revision 1.119 by root, Sun Apr 18 11:42:46 2010 UTC

404 if (OB_TYPE_MOVE_BLOCK (op, ms.move_block)) 404 if (OB_TYPE_MOVE_BLOCK (op, ms.move_block))
405 return 0; 405 return 0;
406 406
407 int max_effects = 5; // max. number of similar spells per mapspace 407 int max_effects = 5; // max. number of similar spells per mapspace
408 408
409 for (object *tmp = ms.bot; tmp; tmp = tmp->above) 409 for (object *tmp = ms.top; tmp; tmp = tmp->below)
410 { 410 {
411 /* If there is a counterspell on the space, and this 411 /* If there is a counterspell on the space, and this
412 * object is using magic, don't progress. I believe we could 412 * object is using magic, don't progress. I believe we could
413 * leave this out and let in progress, and other areas of the code 413 * leave this out and let in progress, and other areas of the code
414 * will then remove it, but that would seem to to use more 414 * will then remove it, but that would seem to to use more

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines