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

Comparing deliantra/server/server/main.C (file contents):
Revision 1.71 by root, Mon Jan 1 15:32:40 2007 UTC vs.
Revision 1.72 by root, Mon Jan 1 21:19:52 2007 UTC

130 * the function that calls this should figure them out. 130 * the function that calls this should figure them out.
131 */ 131 */
132void 132void
133object::enter_map (maptile *newmap, int x, int y) 133object::enter_map (maptile *newmap, int x, int y)
134{ 134{
135 if (destroyed () || !newmap) 135 if (destroyed () || !newmap || newmap->in_memory != MAP_IN_MEMORY)
136 return; 136 return;
137 137
138 if (out_of_map (newmap, x, y)) 138 if (out_of_map (newmap, x, y))
139 { 139 {
140 LOG (llevError, "enter_map: supplied coordinates are not within the map! (%s: %d, %d)\n", &newmap->path, x, y); 140 LOG (llevError, "enter_map: supplied coordinates are not within the map! (%s: %d, %d)\n", &newmap->path, x, y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines