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

Comparing deliantra/server/common/map.C (file contents):
Revision 1.133 by root, Wed Apr 2 11:13:52 2008 UTC vs.
Revision 1.134 by root, Tue Apr 15 14:21:04 2008 UTC

1221maptile::tile_available (int dir, bool load) 1221maptile::tile_available (int dir, bool load)
1222{ 1222{
1223 if (!tile_path[dir]) 1223 if (!tile_path[dir])
1224 return 0; 1224 return 0;
1225 1225
1226 if (tile_map[dir] && (!load || tile_map[dir]->in_memory == MAP_IN_MEMORY)) 1226 if (tile_map[dir] && (!load || tile_map[dir]->in_memory == MAP_ACTIVE))
1227 return 1; 1227 return 1;
1228 1228
1229 if ((tile_map[dir] = find_async (tile_path[dir], this, load))) 1229 if ((tile_map[dir] = find_async (tile_path[dir], this, load)))
1230 return 1; 1230 return 1;
1231 1231

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines