Difference for server/c_object.c from version 1.44 to 1.45


version 1.44 version 1.45
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.44 2003/01/27 07:34:34 mwedel Exp $";   *   "$Id: c_object.c,v 1.45 2003/01/30 00:07:09 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1095
 
Line 1095
     if(buf[0]!='\0')      if(buf[0]!='\0')
  new_draw_info(NDI_UNIQUE, 0,op,buf);   new_draw_info(NDI_UNIQUE, 0,op,buf);
   
     if(tmp->material && !tmp->msg) {      if(tmp->materialname != NULL && !tmp->msg) {
  strcpy(buf,"It is made of: ");   sprintf(buf, "It is made of: %s.", tmp->materialname);
  for(i=0; i < NROFMATERIALS; i++) {  
    if(tmp->material & (1<<i)) {  
      strcat(buf, material[i].name);  
      strcat(buf, " ");  
    }  
  }  
  new_draw_info(NDI_UNIQUE, 0,op,buf);   new_draw_info(NDI_UNIQUE, 0,op,buf);
     }      }
     /* Where to wear this item */      /* Where to wear this item */


Legend:
line(s) removed in v.1.44 
line(s) changed
 line(s) added in v.1.45

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