… | … | ||
---|---|---|---|
313 | * would require keeping a 'next' pointer, ad free_object kills tmp, which | 313 | * would require keeping a 'next' pointer, ad free_object kills tmp, which |
314 | * breaks the for loop. | 314 | * breaks the for loop. |
315 | */ | 315 | */ |
316 | if (tmp->type == EXIT && EXIT_PATH (tmp) && !strncmp (EXIT_PATH (tmp), "?random/", 8)) | 316 | if (tmp->type == EXIT && EXIT_PATH (tmp) && !strncmp (EXIT_PATH (tmp), "?random/", 8)) |
317 | { | 317 | { |
318 | tmp->destroy (); | 318 | tmp->destroy (true); |
319 | break; | 319 | break; |
320 | } | 320 | } |
321 | 321 | ||
322 | if (final_map_exit == 1) | 322 | if (final_map_exit == 1) |
323 | { | 323 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |