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

Comparing deliantra/server/common/region.C (file contents):
Revision 1.12 by root, Sat Dec 30 10:16:10 2006 UTC vs.
Revision 1.13 by root, Sun Dec 31 21:02:04 2006 UTC

73const char * 73const char *
74get_name_of_region_for_map (const maptile *m) 74get_name_of_region_for_map (const maptile *m)
75{ 75{
76 region *reg; 76 region *reg;
77 77
78 if (m->region != NULL) 78 if (m->region)
79 return m->region->name; 79 return m->region->name;
80 80
81 for (reg = first_region; reg != NULL; reg = reg->next) 81 for (reg = first_region; reg != NULL; reg = reg->next)
82 { 82 {
83 if (reg->fallback) 83 if (reg->fallback)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines