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

Comparing deliantra/server/random_maps/exit.C (file contents):
Revision 1.35 by root, Fri Nov 6 13:03:34 2009 UTC vs.
Revision 1.36 by root, Sun Nov 29 17:41:07 2009 UTC

296 296
297 /* the identifier for making a random map. */ 297 /* the identifier for making a random map. */
298 if (RP->dungeon_level >= RP->dungeon_depth && *RP->final_map) 298 if (RP->dungeon_level >= RP->dungeon_depth && *RP->final_map)
299 { 299 {
300 maptile *new_map; 300 maptile *new_map;
301 object *the_exit_back = arch_to_object (the_exit_up->arch); 301 object *the_exit_back = the_exit_up->arch->instance ();
302 302
303 /* load it */ 303 /* load it */
304 if (!(new_map = maptile::find_sync (RP->final_map))) 304 if (!(new_map = maptile::find_sync (RP->final_map)))
305 return; 305 return;
306 306

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines