--- deliantra/server/include/map.h 2007/01/24 22:42:48 1.58 +++ deliantra/server/include/map.h 2007/01/25 03:54:45 1.59 @@ -222,7 +222,7 @@ tstamp ACC (RW, last_access); /* last time this map was accessed somehow */ shstr ACC (RW, name); /* Name of map as given by its creator */ - struct region *ACC (RW, region); /* What jurisdiction in the game world this map is ruled by + struct region *ACC (RW, default_region); /* What jurisdiction in the game world this map is ruled by * points to the struct containing all the properties of * the region */ double ACC (RW, reset_time); @@ -293,6 +293,11 @@ MTH void clear_header (); MTH void clear_links_to (maptile *m); + struct region *region (int x, int y) const + { + return default_region; + } + // loas the header pseudo-object bool _load_header (object_thawer &thawer); MTH bool _load_header (const char *path);