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.8 by root, Tue Dec 12 20:53:03 2006 UTC vs.
Revision 1.9 by root, Tue Dec 12 21:39:56 2006 UTC

346 * breaks the for loop. 346 * breaks the for loop.
347 */ 347 */
348 if (tmp->type == EXIT && EXIT_PATH (tmp) && !strncmp (EXIT_PATH (tmp), "/random/", 8)) 348 if (tmp->type == EXIT && EXIT_PATH (tmp) && !strncmp (EXIT_PATH (tmp), "/random/", 8))
349 { 349 {
350 tmp->remove (); 350 tmp->remove ();
351 tmp->destroy (0); 351 tmp->destroy ();
352 break; 352 break;
353 } 353 }
354 354
355 if (final_map_exit == 1) 355 if (final_map_exit == 1)
356 { 356 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines