… | |
… | |
461 | |
461 | |
462 | while (op != NULL && op->type != PLAYER) |
462 | while (op != NULL && op->type != PLAYER) |
463 | op = op->env; |
463 | op = op->env; |
464 | |
464 | |
465 | if (op != NULL && op->map) |
465 | if (op != NULL && op->map) |
466 | { |
|
|
467 | if ((get_map_flags (op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) && (!QUERY_FLAG (op, FLAG_WIZCAST))) |
466 | if ((get_map_flags (op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) && (!QUERY_FLAG (op, FLAG_WIZCAST))) |
468 | new_draw_info (NDI_UNIQUE, 0, op, "You feel something fizzle inside you."); |
467 | new_draw_info (NDI_UNIQUE, 0, op, "You feel something fizzle inside you."); |
469 | else |
468 | else |
470 | enter_exit (op, wor); |
469 | enter_exit (op, wor); |
471 | } |
470 | |
472 | remove_ob (wor); |
471 | remove_ob (wor); |
473 | free_object (wor); |
472 | free_object (wor); |
474 | } |
473 | } |
475 | |
474 | |
476 | /* Word of recall causes the player to return 'home'. |
475 | /* Word of recall causes the player to return 'home'. |