Difference for common/loader.l from version 1.54 to 1.55


version 1.54 version 1.55
Line 1
 
Line 1
 %{  %{
 /*  /*
  * static char *rcsid_object_c =   * static char *rcsid_object_c =
  *   "$Id: loader.l,v 1.54 2003/10/15 09:39:42 gros Exp $";   *   "$Id: loader.l,v 1.55 2003/11/11 07:58:30 mwedel Exp $";
  */   */
   
 /*  /*
Line 431
 
Line 431
    ((op->type == POTION || op->type == ALTAR) && op->stats.sp)) && !op->inv)  {     ((op->type == POTION || op->type == ALTAR) && op->stats.sp)) && !op->inv)  {
  object *tmp;   object *tmp;
   
  tmp = get_archetype(spell_mapping[op->stats.sp]);   /* Fireall is bizarre in that spell type was stored in dam.  Rest are 'normal'
    * in that spell was stored in sp.
    */
    tmp = get_archetype(spell_mapping[op->type == FIREWALL?op->stats.dam:op->stats.sp]);
  insert_ob_in_ob(tmp, op);   insert_ob_in_ob(tmp, op);
  op->randomitems = NULL; /* So another spell isn't created for this object */   op->randomitems = NULL; /* So another spell isn't created for this object */
     }      }


Legend:
line(s) removed in v.1.54 
line(s) changed
 line(s) added in v.1.55

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