version 1.73 | | version 1.74 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.73 2003/01/17 07:07:14 mwedel Exp $"; | | * "$Id: main.c,v 1.74 2003/02/17 02:37:38 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* map. | | * map. |
*/ | | */ |
if (!newmap && !strncmp(EXIT_PATH(exit_ob),"/random/",8)) { | | if (!newmap && !strncmp(EXIT_PATH(exit_ob),"/random/",8)) { |
| | /* Maps that go down have a message set. However, maps that go |
| | * up, don't. If the going home has reset, there isn't much |
| | * point generating a random map, because it won't match the maps. |
| | */ |
| | if (exit_ob->msg) { |
enter_random_map(op, exit_ob); | | enter_random_map(op, exit_ob); |
| | } else { |
| | new_draw_info_format(NDI_UNIQUE, 0, op, "The %s is closed.", exit_ob->name); |
| | return; |
| | } |
| | |
/* For exits that cause damages (like pits). Don't know if any | | /* For exits that cause damages (like pits). Don't know if any |
* random maps use this or not. | | * random maps use this or not. |
*/ | | */ |