version 1.96 | | version 1.97 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.96 2005/12/31 19:56:27 akirschbaum Exp $"; | | * "$Id: map.c,v 1.97 2006/01/06 18:55:35 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ | | { |
int dest_tile = (tile_num +2) % 4; | | int dest_tile = (tile_num +2) % 4; |
| | |
if (editor) { | | /* Tile paths can be reletive unless the orig_map is unique. |
| | */ |
| | if (!orig_map->unique) { |
char *path = path_combine_and_normalize(orig_map->path, orig_map->tile_path[tile_num]); | | char *path = path_combine_and_normalize(orig_map->path, orig_map->tile_path[tile_num]); |
orig_map->tile_map[tile_num] = ready_map_name(path, 0); | | orig_map->tile_map[tile_num] = ready_map_name(path, 0); |
} else { | | } else { |