… | |
… | |
509 | CLEAR_FLAG (skop, FLAG_UNDEAD); |
509 | CLEAR_FLAG (skop, FLAG_UNDEAD); |
510 | undeadified = 1; |
510 | undeadified = 1; |
511 | } |
511 | } |
512 | |
512 | |
513 | if (skop->title) |
513 | if (skop->title) |
514 | { /* get rid of old god */ |
514 | { |
|
|
515 | /* get rid of old god */ |
515 | new_draw_info_format (NDI_UNIQUE, 0, op, "%s's blessing is withdrawn from you.", &skop->title); |
516 | new_draw_info_format (NDI_UNIQUE, 0, op, "%s's blessing is withdrawn from you.", &skop->title); |
|
|
517 | |
516 | /* The point of this is to really show what abilities the player just lost */ |
518 | /* The point of this is to really show what abilities the player just lost */ |
517 | if (sk_applied || undeadified) |
519 | if (sk_applied || undeadified) |
518 | { |
520 | { |
519 | |
|
|
520 | CLEAR_FLAG (skop, FLAG_APPLIED); |
521 | CLEAR_FLAG (skop, FLAG_APPLIED); |
521 | (void) change_abil (op, skop); |
522 | change_abil (op, skop); |
522 | } |
523 | } |
523 | } |
524 | } |
524 | |
525 | |
525 | /* now change to the new gods attributes to exp_obj */ |
526 | /* now change to the new gods attributes to exp_obj */ |
526 | skop->title = new_god->name; |
527 | skop->title = new_god->name; |