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.40 by root, Sun Apr 11 00:34:06 2010 UTC vs.
Revision 1.41 by root, Sun May 9 18:40:02 2010 UTC

176 LOG (llevError, "%s: no alternative teleporters around (user %s).\n", 176 LOG (llevError, "%s: no alternative teleporters around (user %s).\n",
177 teleporter->debug_desc (), user->debug_desc ()); 177 teleporter->debug_desc (), user->debug_desc ());
178 return 0; 178 return 0;
179 } 179 }
180 180
181 int k = find_free_spot (user, other_teleporter->map, other_teleporter->x, other_teleporter->y, 1, 9); 181 int k = find_free_spot (user, other_teleporter->map, other_teleporter->x, other_teleporter->y, 1, SIZEOFFREE1 + 1);
182 182
183 /* if k==-1, unable to find a free spot. If this is shop 183 /* if k==-1, unable to find a free spot. If this is shop
184 * mat that the player is using, find someplace to move 184 * mat that the player is using, find someplace to move
185 * the player - otherwise, player can get trapped in the shops 185 * the player - otherwise, player can get trapped in the shops
186 * that appear in random dungeons. We basically just make 186 * that appear in random dungeons. We basically just make

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines