Difference for server/spell_effect.c from version 1.67 to 1.68


version 1.67 version 1.68
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.67 2001/12/03 07:51:46 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.68 2002/01/01 03:56:23 mwedel Exp $";
  */   */
   
   
Line 1897
 
Line 1897
     return;      return;
   at = find_archetype("splint");    at = find_archetype("splint");
   for(env=op;env->env!=NULL;env=env->env);    for(env=op;env->env!=NULL;env=env->env);
   
   if (op->env) {    if (op->env) {
         if (env->map == NULL)          if (env->map == NULL)
             return;              return;
  if (env->type==PLAYER) drop(env,op);  
  else {   if (env->type == PLAYER)
        esrv_del_item(env->contr, op->count);
   
      remove_ob(op);       remove_ob(op);
    op->x = env->x;
    op->y = env->y;
      if ((op = insert_ob_in_map (op, env->map, op,0)) == NULL)       if ((op = insert_ob_in_map (op, env->map, op,0)) == NULL)
                 return;                  return;
  }   }
   }  
   if (at)    if (at)
     for(i=1;i<9;i++)      for(i=1;i<9;i++)
       fire_arch(op,op,i,at,0,0);        fire_arch(op,op,i,at,0,0);
   
   explode_object(op);    explode_object(op);
 }  }
   


Legend:
line(s) removed in v.1.67 
line(s) changed
 line(s) added in v.1.68

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