Difference for server/pets.c from version 1.42 to 1.43


version 1.42 version 1.43
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_pets_c =   * static char *rcsid_pets_c =
  *    "$Id: pets.c,v 1.42 2006/05/05 08:52:02 ryo_saeba Exp $";   *    "$Id: pets.c,v 1.43 2006/05/05 09:26:35 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 408
 
Line 408
  * direction the monster should be placed in.   * direction the monster should be placed in.
  * is_golem is to note that this is a golem spell.   * is_golem is to note that this is a golem spell.
  */   */
 object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem ) {  static object *fix_summon_pet(archetype *at, object *op, int dir, int is_golem) {
     archetype *atmp;      archetype *atmp;
     object *tmp=NULL, *prev=NULL, *head=NULL;       object *tmp=NULL, *prev=NULL, *head=NULL;
    
Line 712
 
Line 712
  * This returns NULL if no match was found.   * This returns NULL if no match was found.
  */   */
   
 object *choose_cult_monster(object *pl, object *god, int summon_level) {  static object *choose_cult_monster(object *pl, object *god, int summon_level) {
     char buf[MAX_BUF];      char buf[MAX_BUF];
     const char *race;      const char *race;
     int racenr, mon_nr,i;      int racenr, mon_nr,i;
Line 938
 
Line 938
   
 /* recursively look through the owner property of objects until the real owner  /* recursively look through the owner property of objects until the real owner
 is found */  is found */
 object *get_real_owner(object *ob) {  static object *get_real_owner(object *ob) {
  object *realowner = ob;   object *realowner = ob;
    
  if (realowner == NULL) return NULL;   if (realowner == NULL) return NULL;


Legend:
line(s) removed in v.1.42 
line(s) changed
 line(s) added in v.1.43

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:39