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.175 by root, Tue Nov 10 05:06:02 2009 UTC vs.
Revision 1.176 by root, Tue Nov 10 05:11:05 2009 UTC

241 set_object_flag (FLAG_OBJ_ORIGINAL); 241 set_object_flag (FLAG_OBJ_ORIGINAL);
242 242
243 for (mapspace *ms = spaces + size (); ms-- > spaces; ) 243 for (mapspace *ms = spaces + size (); ms-- > spaces; )
244 for (object *tmp = ms->bot; tmp; tmp = tmp->above) 244 for (object *tmp = ms->bot; tmp; tmp = tmp->above)
245 INVOKE_OBJECT (RESET, tmp); 245 INVOKE_OBJECT (RESET, tmp);
246}
247
248void
249maptile::post_load ()
250{
251#if 0
252 if (!spaces)
253 return;
254
255 for (mapspace *ms = spaces + size (); ms-- > spaces; )
256 for (object *tmp = ms->bot; tmp; tmp = tmp->above)
257 ; // nop
258#endif
246} 259}
247 260
248//+GPL 261//+GPL
249 262
250/* link_multipart_objects go through all the objects on the map looking 263/* link_multipart_objects go through all the objects on the map looking

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines