version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.20 2001/01/31 07:54:52 cvs Exp $"; | | * "$Id: main.c,v 1.21 2001/02/01 04:09:21 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* Simple enough we don't need another routine for it. | | * Simple enough we don't need another routine for it. |
*/ | | */ |
mapstruct *newmap; | | mapstruct *newmap; |
| | if (exit_ob->map) { |
newmap = ready_map_name(normalize_path(exit_ob->map->path, EXIT_PATH(exit_ob)), 0); | | newmap = ready_map_name(normalize_path(exit_ob->map->path, EXIT_PATH(exit_ob)), 0); |
| | } else { |
| | /* For word of recall and other force objects |
| | * They contain the full pathname of the map to go back to, |
| | * so we don't need to normalize it. |
| | */ |
| | newmap = ready_map_name(EXIT_PATH(exit_ob), 0); |
| | } |
/* This supports the old behaviour, but it really should not be used. | | /* This supports the old behaviour, but it really should not be used. |
* I will note for example that with this method, it is impossible to | | * I will note for example that with this method, it is impossible to |
* set 0,0 destination coordinates. Really, if we want to support | | * set 0,0 destination coordinates. Really, if we want to support |