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.107 by root, Sun May 1 16:58:17 2011 UTC vs.
Revision 1.109 by root, Wed Jan 18 19:12:22 2012 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002-2003 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002-2003 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992 Frank Tore Johansen 6 * Copyright (©) 1992 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 8 * Deliantra is free software: you can redistribute it and/or modify it under
9 * the terms of the Affero GNU General Public License as published by the 9 * the terms of the Affero GNU General Public License as published by the
1461 unordered_mapwalk (buf, op, -range, -range, range, range) 1461 unordered_mapwalk (buf, op, -range, -range, range, range)
1462 { 1462 {
1463 mapspace &ms = m->at (nx, ny); 1463 mapspace &ms = m->at (nx, ny);
1464 1464
1465 /* If there is nothing living on this space, no need to go further */ 1465 /* If there is nothing living on this space, no need to go further */
1466 if (!ms.flags () & P_IS_ALIVE) 1466 if (!(ms.flags () & P_IS_ALIVE))
1467 continue; 1467 continue;
1468 1468
1469 // players can only affect spaces that they can actually see 1469 // players can only affect spaces that they can actually see
1470 if (caster 1470 if (caster
1471 && caster->contr 1471 && caster->contr

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines