ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/pets.C
(Generate patch)

Comparing deliantra/server/server/pets.C (file contents):
Revision 1.54 by root, Fri Oct 16 00:30:19 2009 UTC vs.
Revision 1.55 by root, Fri Nov 6 12:49:19 2009 UTC

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 */
778object * 778static object *
779choose_cult_monster (object *pl, object *god, int summon_level) 779choose_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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines