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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.161 by root, Sun Nov 29 09:41:28 2009 UTC vs.
Revision 1.162 by root, Fri Dec 18 03:49:46 2009 UTC

981prefetch_surrounding_maps (maptile *map, int distance) 981prefetch_surrounding_maps (maptile *map, int distance)
982{ 982{
983 map->touch (); 983 map->touch ();
984 984
985 if (--distance) 985 if (--distance)
986 for (int dir = 4; --dir; ) 986 for (int dir = 4; dir--; )
987 if (const shstr &path = map->tile_path [dir]) 987 if (const shstr &path = map->tile_path [dir])
988 if (maptile *&neigh = map->tile_map [dir]) 988 if (maptile *&neigh = map->tile_map [dir])
989 prefetch_surrounding_maps (neigh, distance); 989 prefetch_surrounding_maps (neigh, distance);
990 else 990 else
991 neigh = maptile::find_async (path, map); 991 neigh = maptile::find_async (path, map);
1084 map_clearcell (&lastcell, -1); 1084 map_clearcell (&lastcell, -1);
1085 } 1085 }
1086 1086
1087 continue; 1087 continue;
1088 } 1088 }
1089 1089
1090 int d = pl->blocked_los_uc (dx, dy); 1090 int d = pl->blocked_los_uc (dx, dy);
1091 1091
1092 if (d > 3) 1092 if (d > 3)
1093 { 1093 {
1094 /* This block deals with spaces that are not visible for whatever 1094 /* This block deals with spaces that are not visible for whatever

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines