Difference for server/time.c from version 1.46 to 1.47


version 1.46 version 1.47
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.46 2002/12/13 05:09:49 garbled Exp $";   *    "$Id: time.c,v 1.47 2002/12/25 06:45:46 garbled Exp $";
  */   */
   
 /*  /*
Line 625
 
Line 625
  }   }
     }      }
   
       /* if the arrow is moving too slow.. stop it.  0.5 was chosen as lower
          values look rediculous. */
       if (op->speed < 0.5 && op->type==ARROW) {
    stop_arrow(op);
    return;
       }
   
     /* Calculate target map square */      /* Calculate target map square */
     new_x = op->x + DIRX(op);      new_x = op->x + DIRX(op);
     new_y = op->y + DIRY(op);      new_y = op->y + DIRY(op);
Line 733
 
Line 740
     remove_ob (op);      remove_ob (op);
     op->x = new_x;      op->x = new_x;
     op->y = new_y;      op->y = new_y;
   
       /* decrease the speed as it flies. 0.05 means a standard bow will shoot
        about 17 squares. Tune as needed. */
       op->speed -= 0.05;
     insert_ob_in_map (op, op->map, op,0);      insert_ob_in_map (op, op->map, op,0);
 }  }
   


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

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