Difference for server/skills.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.17 2001/06/13 12:51:58 michtoen Exp $";   *   "$Id: skills.c,v 1.18 2001/07/14 04:11:18 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 390
 
Line 390
      
   if(attempt_hide(op)) {     if(attempt_hide(op)) {
      new_draw_info(NDI_UNIQUE, 0,op,"You hide in the shadows.");       new_draw_info(NDI_UNIQUE, 0,op,"You hide in the shadows.");
      update_object(op);       update_object(op,UP_OBJ_FACE);
      return calc_skill_exp(op, NULL);       return calc_skill_exp(op, NULL);
   }     }
   new_draw_info(NDI_UNIQUE,0,op,"You fail to conceal yourself.");    new_draw_info(NDI_UNIQUE,0,op,"You fail to conceal yourself.");
Line 437
 
Line 437
     /* int load=dist/(pl->speed*spaces); */       /* int load=dist/(pl->speed*spaces); */
   
     CLEAR_FLAG(pl,FLAG_FLYING);      CLEAR_FLAG(pl,FLAG_FLYING);
     insert_ob_in_map(pl,pl->map,pl);      insert_ob_in_map(pl,pl->map,pl,0);
     if (pl->type==PLAYER) draw(pl);        if (pl->type==PLAYER) draw(pl); 
   
     /* pl->speed_left= (int) -FABS((load*8)+1); */       /* pl->speed_left= (int) -FABS((load*8)+1); */
Line 1462
 
Line 1462
  /* bounces off 'wall', and drops to feet */   /* bounces off 'wall', and drops to feet */
  remove_ob(throw_ob);   remove_ob(throw_ob);
  throw_ob->x = op->x; throw_ob->y = op->y;   throw_ob->x = op->x; throw_ob->y = op->y;
  insert_ob_in_map(throw_ob,op->map,op);   insert_ob_in_map(throw_ob,op->map,op,0);
  if(op->type==PLAYER) {   if(op->type==PLAYER) {
      if(eff_str<=1) {       if(eff_str<=1) {
  new_draw_info_format(NDI_UNIQUE, 0,op,   new_draw_info_format(NDI_UNIQUE, 0,op,
Line 1648
 
Line 1648
         throw_ob->last_sp,throw_ob->speed,throw_ob->stats.food);          throw_ob->last_sp,throw_ob->speed,throw_ob->stats.food);
     LOG(llevDebug,"inserting tossitem (%d) into map\n",throw_ob->count);      LOG(llevDebug,"inserting tossitem (%d) into map\n",throw_ob->count);
 #endif  #endif
     insert_ob_in_map(throw_ob,op->map,op);      insert_ob_in_map(throw_ob,op->map,op,0);
     move_arrow(throw_ob);      move_arrow(throw_ob);
 }  }
   


Legend:
line(s) removed in v.1.17 
line(s) changed
 line(s) added in v.1.18

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