Difference for server/spell_attack.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.25 2005/10/30 00:16:56 akirschbaum Exp $";   *   "$Id: spell_attack.c,v 1.26 2005/11/01 10:08:17 akirschbaum Exp $";
  */   */
   
   
Line 374
 
Line 374
   
     if (op->env) {      if (op->env) {
  object *env;   object *env;
  for (env = op; env->env != NULL; env = env->env) ;  
    env = object_get_env_recursive(op);
  if (env->map == NULL || out_of_map (env->map, env->x, env->y)) {   if (env->map == NULL || out_of_map (env->map, env->x, env->y)) {
      LOG (llevError, "BUG: explode_bullet(): env out of map\n");       LOG (llevError, "BUG: explode_bullet(): env out of map\n");
      remove_ob (op);       remove_ob (op);
Line 877
 
Line 878
     if(op->state!=NUM_ANIMATIONS(op)-1)      if(op->state!=NUM_ANIMATIONS(op)-1)
  return;   return;
   
     for(env=op;env->env!=NULL;env=env->env);      env = object_get_env_recursive(op);
   
     if (op->env) {      if (op->env) {
         if (env->map == NULL)          if (env->map == NULL)


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

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