Difference for server/apply.c from version 1.94 to 1.95


version 1.94 version 1.95
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.94 2003/11/25 18:49:32 ryo_saeba Exp $";   *   "$Id: apply.c,v 1.95 2004/01/18 10:36:10 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 2297
 
Line 2297
   case SKILL:    case SKILL:
   case BOW:    case BOW:
   case LAMP:    case LAMP:
     case BUILDER:
     if (tmp->env != op)      if (tmp->env != op)
       return 2;   /* not in inventory */        return 2;   /* not in inventory */
     (void) apply_special (op, tmp, aflag);      (void) apply_special (op, tmp, aflag);
Line 2562
 
Line 2563
      }       }
      break;       break;
   
       case BUILDER:
        new_draw_info_format(NDI_UNIQUE, 0, who, "You unready %s.",query_name(op));
           who->contr->shoottype = range_none;
           who->contr->ranges[ range_builder ] = NULL;
           break;
   
  default:   default:
      new_draw_info_format(NDI_UNIQUE, 0, who, "You unapply %s.",query_name(op));       new_draw_info_format(NDI_UNIQUE, 0, who, "You unapply %s.",query_name(op));
      break;       break;
Line 3098
 
Line 3105
      }       }
      break;       break;
   
       case BUILDER:
           if ( who->contr->ranges[ range_builder ] )
               unapply_special( who, who->contr->ranges[ range_builder ], 0 );
           who->contr->shoottype = range_builder;
           who->contr->ranges[ range_builder ] = op;
           new_draw_info_format( NDI_UNIQUE, 0, who, "You ready your %s.", query_name( op ) );
           break;
   
  default:   default:
      new_draw_info_format(NDI_UNIQUE, 0, who, "You apply %s.",query_name(op));       new_draw_info_format(NDI_UNIQUE, 0, who, "You apply %s.",query_name(op));
     } /* end of switch op->type */      } /* end of switch op->type */


Legend:
line(s) removed in v.1.94 
line(s) changed
 line(s) added in v.1.95

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