version 1.5 | | version 1.6 |
---|
| | |
#include <living.h> | | #include <living.h> |
#include <spells.h> | | #include <spells.h> |
| | |
| | static void add_god_to_list (archetype *god_arch); |
| | |
static godlink *init_godslist(void) { | | static godlink *init_godslist(void) { |
godlink *gl = (godlink *) malloc(sizeof(godlink)); | | godlink *gl = (godlink *) malloc(sizeof(godlink)); |
if(gl==NULL) | | if(gl==NULL) |
| | |
LOG(llevDebug,"done.\n"); | | LOG(llevDebug,"done.\n"); |
} | | } |
| | |
/* add_god_to_list()- called only from init_gods */ | | static void add_god_to_list (archetype *god_arch) { |
void add_god_to_list (archetype *god_arch) { | | |
godlink *god; | | godlink *god; |
| | |
if(!god_arch) { | | if(!god_arch) { |
| | |
* god in question, then set the title for later use. -b.t. | | * god in question, then set the title for later use. -b.t. |
*/ | | */ |
| | |
int baptize_altar(object *op) { | | static int baptize_altar(object *op) { |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
| | |
/* if the title field is pre-set, then that altar is | | /* if the title field is pre-set, then that altar is |