Difference for common/living.c from version 1.32 to 1.33


version 1.32 version 1.33
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.32 2002/03/01 21:33:09 avogl Exp $";   *   "$Id: living.c,v 1.33 2002/03/03 20:05:57 avogl Exp $";
  */   */
   
 /*  /*
Line 1563
 
Line 1563
          
     if (abil->resist[abil->stats.exp]>0 && abil->resist[abil->stats.exp]%5 == 0) {      if (abil->resist[abil->stats.exp]>0 && abil->resist[abil->stats.exp]%5 == 0) {
       /* time to hand out a new ability-gift */        /* time to hand out a new ability-gift */
         
       (*dragon_gain_func)(who, abil->stats.exp,        (*dragon_gain_func)(who, abil->stats.exp,
         (int)((1+abil->resist[abil->stats.exp])/5.));          (int)((1+abil->resist[abil->stats.exp])/5.));
     }      }
Line 1598
 
Line 1597
     if(op->level < MAXLEVEL && op->stats.exp >= level_exp(op->level+1,op->expmul)) {      if(op->level < MAXLEVEL && op->stats.exp >= level_exp(op->level+1,op->expmul)) {
  op->level++;   op->level++;
    
  if (op != NULL && op == who && op->stats.exp > 1 &&   if (op != NULL && op == who && op->stats.exp > 1 && is_dragon_pl(who))
      op->type == PLAYER && strcmp(op->race, "dragon")==0)  
    dragon_level_gain(who);     dragon_level_gain(who);
    
  if(who && (who->level < 11) && op->type!=EXPERIENCE) {    if(who && (who->level < 11) && op->type!=EXPERIENCE) {


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

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