Difference for server/c_object.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.18 2001/04/02 05:55:36 mwedel Exp $";   *   "$Id: c_object.c,v 1.19 2001/04/06 05:25:26 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1084
 
Line 1084
     buf[0]='\0';      buf[0]='\0';
     switch(tmp->type) {      switch(tmp->type) {
  case SPELLBOOK:   case SPELLBOOK:
      if(QUERY_FLAG(tmp, FLAG_IDENTIFIED) && tmp->stats.sp > 0 && tmp->stats.sp <= NROFREALSPELLS ) {       if(QUERY_FLAG(tmp, FLAG_IDENTIFIED) && tmp->stats.sp >= 0 && tmp->stats.sp <= NROFREALSPELLS ) {
  if(!strcmp(tmp->arch->name,"cleric_book"))   if(!strcmp(tmp->arch->name,"cleric_book"))
      sprintf(buf,"%s is a %d level prayer.",       sprintf(buf,"%s is a %d level prayer.",
      spells[tmp->stats.sp].name,spells[tmp->stats.sp].level);       spells[tmp->stats.sp].name,spells[tmp->stats.sp].level);


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

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