Difference for server/gods.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_gods_c =   * static char *rcsid_gods_c =
  *   "$Id: gods.c,v 1.9 2000/06/08 16:08:41 jec Exp $";   *   "$Id: gods.c,v 1.10 2000/10/24 23:01:19 mids Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 479
 
Line 479
    
     /* add the gods attacktype*/      /* add the gods attacktype*/
       if(!(RANDOM()%2)&&!(weapon->attacktype&god->attacktype)) {        if(!(RANDOM()%2)&&!(weapon->attacktype&god->attacktype)) {
    char buf[MAX_BUF];
         new_draw_info(NDI_UNIQUE,0,op,"Your weapon suddenly glows!");          new_draw_info(NDI_UNIQUE,0,op,"Your weapon suddenly glows!");
  if (weapon->attacktype==0)   if (weapon->attacktype==0)
      weapon->attacktype = AT_PHYSICAL;       weapon->attacktype = AT_PHYSICAL;
  weapon->attacktype=weapon->attacktype|god->attacktype;   weapon->attacktype=weapon->attacktype|god->attacktype;
   
           if(!weapon->title) {
             new_draw_info_format(NDI_UNIQUE,0,op,
                weapon->name);
             sprintf(buf,"of %s",god->name);
             weapon->title=add_string(buf);
      if(op->type==PLAYER)
        esrv_update_item(UPD_NAME, op, weapon);
             }
  return;   return;
       }        }
   


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

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