Difference for server/skill_util.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.10 2000/10/16 19:19:31 peterm Exp $";   *   "$Id: skill_util.c,v 1.11 2000/12/18 01:46:07 peterm Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 858
 
Line 858
    for(tmp=pl->inv;tmp&&sk_index<100;tmp=tmp->below)     for(tmp=pl->inv;tmp&&sk_index<100;tmp=tmp->below)
       if(tmp->type==EXPERIENCE) {        if(tmp->type==EXPERIENCE) {
            exp_ob[exp_index] = tmp;             exp_ob[exp_index] = tmp;
              tmp->nrof=1; /* to handle multiple instances */
            exp_index++;             exp_index++;
       } else if (tmp->type==SKILL) {        } else if (tmp->type==SKILL) {
            /* for startup, lets unapply all skills */             /* for startup, lets unapply all skills */
            CLEAR_FLAG (tmp, FLAG_APPLIED);             CLEAR_FLAG (tmp, FLAG_APPLIED);
            if (tmp->invisible) {             if (tmp->invisible) {
                tmp->nrof=1; /* to handle multiple instances */
                sk_ob[sk_index]=tmp;                  sk_ob[sk_index]=tmp;
                sk_index++;                 sk_index++;
            }             }


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

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