… | |
… | |
773 | /* Returns a monster (chosen at random) that this particular player (and his |
773 | /* Returns a monster (chosen at random) that this particular player (and his |
774 | * god) find acceptable. This checks level, races allowed by god, etc |
774 | * god) find acceptable. This checks level, races allowed by god, etc |
775 | * to determine what is acceptable. |
775 | * to determine what is acceptable. |
776 | * This returns NULL if no match was found. |
776 | * This returns NULL if no match was found. |
777 | */ |
777 | */ |
778 | object * |
778 | static object * |
779 | choose_cult_monster (object *pl, object *god, int summon_level) |
779 | choose_cult_monster (object *pl, object *god, int summon_level) |
780 | { |
780 | { |
781 | char buf[MAX_BUF]; |
781 | char buf[MAX_BUF]; |
782 | const char *race; |
782 | const char *race; |
783 | int racenr, mon_nr, i; |
783 | int racenr, mon_nr, i; |