Difference for server/rune.c from version 1.45 to 1.46


version 1.45 version 1.46
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_rune_c =   * static char *rcsid_rune_c =
  *   "$Id: rune.c,v 1.45 2005/11/01 10:08:17 akirschbaum Exp $";   *   "$Id: rune.c,v 1.46 2006/04/06 21:18:36 tchize Exp $";
  */   */
   
 /*  /*
Line 136
 
Line 136
     if (rune_spell->type == RUNE) {      if (rune_spell->type == RUNE) {
  rune = rune_spell;   rune = rune_spell;
     } else {      } else {
  rune = get_archetype(GENERIC_RUNE);   rune = create_archetype(GENERIC_RUNE);
  sprintf(buf,"You set off a rune of %s\n",rune_spell->name);   sprintf(buf,"You set off a rune of %s\n",rune_spell->name);
  rune->msg=add_string(buf);   rune->msg=add_string(buf);
  tmp = get_object();   tmp = get_object();
Line 372
 
Line 372
     object *tmp2;      object *tmp2;
   
     if(where==NULL) return 0;      if(where==NULL) return 0;
     tmp2=get_archetype("runedet");      tmp2=create_archetype("runedet");
     tmp2->face=&new_faces[GET_ANIMATION(trap, 0)];      tmp2->face=&new_faces[GET_ANIMATION(trap, 0)];
     tmp2->x=where->x;tmp2->y=where->y;tmp2->map=where->map;      tmp2->x=where->x;tmp2->y=where->y;tmp2->map=where->map;
     insert_ob_in_map(tmp2,where->map,NULL,0);      insert_ob_in_map(tmp2,where->map,NULL,0);


Legend:
line(s) removed in v.1.45 
line(s) changed
 line(s) added in v.1.46

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