Difference for server/spell_effect.c from version 1.69 to 1.70


version 1.69 version 1.70
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.69 2002/02/11 04:22:06 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.70 2002/06/07 07:00:45 mwedel Exp $";
  */   */
   
   
Line 920
 
Line 920
    EXIT_PATH(dummy) = add_string (exitpath);     EXIT_PATH(dummy) = add_string (exitpath);
    EXIT_X(dummy)=exitx;     EXIT_X(dummy)=exitx;
    EXIT_Y(dummy)=exity;     EXIT_Y(dummy)=exity;
    free_string (dummy->name);     FREE_AND_COPY(dummy->name, portal_name);
    dummy->name=add_string (portal_name);     FREE_AND_COPY(dummy->name_pl, portal_name);
    dummy->msg=add_string (portal_message);     dummy->msg=add_string (portal_message);
    CLEAR_FLAG (dummy,FLAG_WALK_ON);     CLEAR_FLAG (dummy,FLAG_WALK_ON);
    CLEAR_FLAG (dummy,FLAG_FLY_ON);     CLEAR_FLAG (dummy,FLAG_FLY_ON);
Line 937
 
Line 937
    }     }
    force->slaying= add_string (PORTAL_ACTIVE_NAME);     force->slaying= add_string (PORTAL_ACTIVE_NAME);
    force->race=add_string (op->map->path);     force->race=add_string (op->map->path);
    force->name=add_string (portal_name);     FREE_AND_COPY(force->name, portal_name);
    EXIT_X(force)=dummy->x;     EXIT_X(force)=dummy->x;
    EXIT_Y(force)=dummy->y;     EXIT_Y(force)=dummy->y;
    force->speed=0.0;     force->speed=0.0;
Line 962
 
Line 962
    EXIT_PATH(dummy) = add_string (op->map->path);     EXIT_PATH(dummy) = add_string (op->map->path);
    EXIT_X(dummy)=op->x;     EXIT_X(dummy)=op->x;
    EXIT_Y(dummy)=op->y;     EXIT_Y(dummy)=op->y;
    free_string (dummy->name);     FREE_AND_COPY(dummy->name, portal_name);
    dummy->name=add_string (portal_name);     FREE_AND_COPY(dummy->name_pl, portal_name);
    dummy->msg=add_string (portal_message);     dummy->msg=add_string (portal_message);
    CLEAR_FLAG (dummy,FLAG_WALK_ON);     CLEAR_FLAG (dummy,FLAG_WALK_ON);
    CLEAR_FLAG (dummy,FLAG_FLY_ON);     CLEAR_FLAG (dummy,FLAG_FLY_ON);
Line 981
 
Line 981
    }     }
    force->slaying= add_string (PORTAL_ACTIVE_NAME);     force->slaying= add_string (PORTAL_ACTIVE_NAME);
    force->race=add_string (exitpath);     force->race=add_string (exitpath);
    force->name=add_string (portal_name);     FREE_AND_COPY(force->name, portal_name);
    EXIT_X(force)=dummy->x;     EXIT_X(force)=dummy->x;
    EXIT_Y(force)=dummy->y;     EXIT_Y(force)=dummy->y;
    force->speed=0.0;     force->speed=0.0;
Line 3119
 
Line 3119
      sprintf(buf,"Arch %s of %s",head->name,god->name);       sprintf(buf,"Arch %s of %s",head->name,god->name);
      else       else
  sprintf(buf,"%s of %s",head->name,god->name);   sprintf(buf,"%s of %s",head->name,god->name);
        FREE_AND_COPY(otmp->name, buf);
      free_string(otmp->name);  
      otmp->name=add_string(buf);  
  }   }
      }       }
  } /* if monster level is much less than character level */   } /* if monster level is much less than character level */


Legend:
line(s) removed in v.1.69 
line(s) changed
 line(s) added in v.1.70

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