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

Comparing deliantra/server/server/move.C (file contents):
Revision 1.35 by root, Sun Nov 15 19:13:10 2009 UTC vs.
Revision 1.36 by root, Sun Feb 7 04:22:33 2010 UTC

183 183
184 /* Find all other teleporters within range. This range 184 /* Find all other teleporters within range. This range
185 * should really be setable by some object attribute instead of 185 * should really be setable by some object attribute instead of
186 * using hard coded values. 186 * using hard coded values.
187 */ 187 */
188 unordered_mapwalk (teleporter, -5, -5, 5, 5) 188 unordered_mapwalk (mapwalk_buf, teleporter, -5, -5, 5, 5)
189 { 189 {
190 mapspace &ms = m->at (nx, ny); 190 mapspace &ms = m->at (nx, ny);
191 191
192 for (object *tmp = ms.top; tmp; tmp = tmp->below) 192 for (object *tmp = ms.top; tmp; tmp = tmp->below)
193 if (tmp->type == tele_type) 193 if (tmp->type == tele_type)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines