Difference for server/skills.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.27 2002/06/09 07:59:31 mwedel Exp $";   *   "$Id: skills.c,v 1.28 2002/07/15 04:57:13 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 660
 
Line 660
    identify(tmp);     identify(tmp);
        if (pl->type==PLAYER) {         if (pl->type==PLAYER) {
             new_draw_info_format(NDI_UNIQUE, 0, pl,              new_draw_info_format(NDI_UNIQUE, 0, pl,
                       "You identify %s.", long_desc(tmp));                        "You identify %s.", long_desc(tmp, pl));
             if (tmp->msg) {              if (tmp->msg) {
            new_draw_info(NDI_UNIQUE, 0,pl, "The item has a story:");             new_draw_info(NDI_UNIQUE, 0,pl, "The item has a story:");
            new_draw_info(NDI_UNIQUE, 0,pl, tmp->msg);             new_draw_info(NDI_UNIQUE, 0,pl, tmp->msg);
Line 1434
 
Line 1434
     if(throw_ob==NULL) {      if(throw_ob==NULL) {
  if(op->type==PLAYER) {   if(op->type==PLAYER) {
      new_draw_info(NDI_UNIQUE, 0,op,"You have nothing to throw.");       new_draw_info(NDI_UNIQUE, 0,op,"You have nothing to throw.");
      op->contr->count_left=0; /* ?? is this needed?? */  
  }   }
  return;   return;
     }      }
     if (QUERY_FLAG(throw_ob, FLAG_STARTEQUIP)) {      if (QUERY_FLAG(throw_ob, FLAG_STARTEQUIP)) {
  if (op->type==PLAYER) {   if (op->type==PLAYER) {
      new_draw_info(NDI_UNIQUE, 0, op, "The gods won't let you throw that.");       new_draw_info(NDI_UNIQUE, 0, op, "The gods won't let you throw that.");
      op->contr->count_left=0; /* ?? is this needed?? */  
  }   }
  return;   return;
     }      }
Line 1508
 
Line 1506
      }       }
      else       else
  new_draw_info(NDI_UNIQUE, 0,op,"Something is in the way.");   new_draw_info(NDI_UNIQUE, 0,op,"Something is in the way.");
      op->contr->count_left=0; /* needed?? */  
  }   }
  return;   return;
     } /* if object can't be thrown */      } /* if object can't be thrown */


Legend:
line(s) removed in v.1.27 
line(s) changed
 line(s) added in v.1.28

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