… | |
… | |
31 | #include <global.h> |
31 | #include <global.h> |
32 | #include <living.h> |
32 | #include <living.h> |
33 | #include <object.h> |
33 | #include <object.h> |
34 | #include <spells.h> |
34 | #include <spells.h> |
35 | #include <sounds.h> |
35 | #include <sounds.h> |
36 | #ifndef __CEXTRACT__ |
|
|
37 | # include <sproto.h> |
36 | #include <sproto.h> |
38 | #endif |
|
|
39 | |
37 | |
40 | /** |
38 | /** |
41 | * Returns the id of specified god. |
39 | * Returns the id of specified god. |
42 | */ |
40 | */ |
43 | int |
41 | int |
… | |
… | |
965 | for (i = 0; i < NUM_STATS; i++) |
963 | for (i = 0; i < NUM_STATS; i++) |
966 | if (get_attr_value (&depl->stats, i)) |
964 | if (get_attr_value (&depl->stats, i)) |
967 | new_draw_info (NDI_UNIQUE, 0, op, restore_msg[i]); |
965 | new_draw_info (NDI_UNIQUE, 0, op, restore_msg[i]); |
968 | |
966 | |
969 | depl->destroy (); |
967 | depl->destroy (); |
970 | fix_player (op); |
968 | op->update_stats (); |
971 | return; |
969 | return; |
972 | } |
970 | } |
973 | |
971 | |
974 | /* Voices */ |
972 | /* Voices */ |
975 | if (item->type == BOOK && item->invisible && strcmp (item->name, "voice_behind") == 0) |
973 | if (item->type == BOOK && item->invisible && strcmp (item->name, "voice_behind") == 0) |