… | |
… | |
1051 | |
1051 | |
1052 | /* update players death & WoR home-position */ |
1052 | /* update players death & WoR home-position */ |
1053 | sscanf (EXIT_PATH (op), "%c", &c); |
1053 | sscanf (EXIT_PATH (op), "%c", &c); |
1054 | if (c == '/') |
1054 | if (c == '/') |
1055 | { |
1055 | { |
1056 | strcpy (player->contr->savebed_map, EXIT_PATH (op)); |
1056 | player->contr->savebed_map = EXIT_PATH (op); |
1057 | player->contr->bed_x = EXIT_X (op); |
1057 | player->contr->bed_x = EXIT_X (op); |
1058 | player->contr->bed_y = EXIT_Y (op); |
1058 | player->contr->bed_y = EXIT_Y (op); |
1059 | } |
1059 | } |
1060 | else |
1060 | else |
1061 | LOG (llevDebug, "WARNING: destination '%s' in player_changer must be an absolute path!\n", &EXIT_PATH (op)); |
1061 | LOG (llevDebug, "WARNING: destination '%s' in player_changer must be an absolute path!\n", &EXIT_PATH (op)); |
1062 | |
1062 | |
1063 | op->above->enter_exit (op); |
1063 | op->above->enter_exit (op); |