Difference for server/apply.c from version 1.33 to 1.34


version 1.33 version 1.34
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.33 2001/03/21 05:36:44 mwedel Exp $";   *   "$Id: apply.c,v 1.34 2001/04/07 02:43:53 darth_bob Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1717
 
Line 1717
     else {      else {
       if(op->stats.food+tmp->stats.food>999) {        if(op->stats.food+tmp->stats.food>999) {
  if(tmp->type==FOOD || tmp->type==FLESH)   if(tmp->type==FOOD || tmp->type==FLESH)
    new_draw_info(NDI_UNIQUE, 0,op,"You can't possibly eat all that now.");     new_draw_info(NDI_UNIQUE, 0,op,"You feel full, but what a waste of food!");
  else   else
    new_draw_info(NDI_UNIQUE, 0,op,"You can't possibly drink all that now.");     new_draw_info(NDI_UNIQUE, 0,op,"Most of the drink goes down your face not your throat!");
  return;  
       }        }
   
       if(!QUERY_FLAG(tmp, FLAG_CURSED)) {        if(!QUERY_FLAG(tmp, FLAG_CURSED)) {
         char buf[MAX_BUF];          char buf[MAX_BUF];
   
         if(tmp->type==DRINK)          if(tmp->type==DRINK)
             sprintf(buf,"Ahhh...that %s tasted good.",tmp->name);              sprintf(buf,"Ahhh...that %s tasted good.",tmp->name);
         else           else
Line 1735
 
Line 1736
         op->stats.hp+=tmp->stats.food/50;          op->stats.hp+=tmp->stats.food/50;
         if(op->stats.hp>op->stats.maxhp)          if(op->stats.hp>op->stats.maxhp)
           op->stats.hp=op->stats.maxhp;            op->stats.hp=op->stats.maxhp;
    if (op->stats.food > 999)
        op->stats.food = 999;
       }        }
       /* special food hack -b.t. */        /* special food hack -b.t. */
       if(tmp->title || QUERY_FLAG(tmp,FLAG_CURSED)) eat_special_food(op,tmp);        if(tmp->title || QUERY_FLAG(tmp,FLAG_CURSED)) eat_special_food(op,tmp);


Legend:
line(s) removed in v.1.33 
line(s) changed
 line(s) added in v.1.34

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