Difference for server/skills.c from version 1.38 to 1.39


version 1.38 version 1.39
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.38 2003/02/21 07:55:37 mwedel Exp $";   *   "$Id: skills.c,v 1.39 2003/03/07 07:33:14 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1098
 
Line 1098
  "You had better pay for that before you write on it.");   "You had better pay for that before you write on it.");
      return 0;       return 0;
  }   }
  switch(item->type) {   switch(msgtype) {
      case SCROLL:       case SCROLL:
  return write_scroll(pl,item);   return write_scroll(pl,item);
  break;   break;
Line 1161
 
Line 1161
         return strlen(msg);          return strlen(msg);
     }      }
    }     }
   
     buf[0] = 0;
   if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */    if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */
     if(item->msg) {      if(item->msg) {
       strcpy(buf,item->msg);        strcpy(buf,item->msg);


Legend:
line(s) removed in v.1.38 
line(s) changed
 line(s) added in v.1.39

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