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.72 by root, Sat Dec 27 08:01:07 2008 UTC vs.
Revision 1.73 by root, Sun Dec 28 06:59:27 2008 UTC

1497 /* If there is nothing living on this space, no need to go further */ 1497 /* If there is nothing living on this space, no need to go further */
1498 if (!(mflags & P_IS_ALIVE)) 1498 if (!(mflags & P_IS_ALIVE))
1499 continue; 1499 continue;
1500 1500
1501 // players can only affect spaces that they can actually see 1501 // players can only affect spaces that they can actually see
1502 if (caster
1502 if (caster && caster->contr 1503 && caster->contr
1503 && caster->contr->darkness_at (m, nx, ny) == LOS_BLOCKED) 1504 && caster->contr->darkness_at (m, nx, ny) == LOS_BLOCKED)
1504 continue; 1505 continue;
1505 1506
1506 for (tmp = GET_MAP_TOP (m, nx, ny); tmp; tmp = tmp->below) 1507 for (tmp = GET_MAP_TOP (m, nx, ny); tmp; tmp = tmp->below)
1507 if (QUERY_FLAG (tmp, FLAG_MONSTER)) 1508 if (QUERY_FLAG (tmp, FLAG_MONSTER))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines