Difference for server/skills.c from version 1.30 to 1.31


version 1.30 version 1.31
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.30 2002/09/28 07:19:40 mwedel Exp $";   *   "$Id: skills.c,v 1.31 2002/11/26 08:48:20 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1118
 
Line 1118
   new_draw_info(NDI_UNIQUE,0,pl,"Trying to cheat now are we?");    new_draw_info(NDI_UNIQUE,0,pl,"Trying to cheat now are we?");
  return 0;   return 0;
   }    }
 #ifdef PLUGINS  
   /* GROS: Handle for plugin book writing (trigger) event */    /* GROS: Handle for plugin book writing (trigger) event */
   if(item->event_hook[EVENT_TRIGGER] != NULL)    if(item->event_hook[EVENT_TRIGGER] != NULL)
   {    {
Line 1144
 
Line 1143
         return strlen(msg);          return strlen(msg);
     }      }
    }     }
 #endif  
   if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */    if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */
     if(item->msg) {      if(item->msg) {
       strcpy(buf,item->msg);        strcpy(buf,item->msg);
Line 1670
 
Line 1668
     /* need to put in a good sound for this */      /* need to put in a good sound for this */
     play_sound_map(op->map, op->x, op->y, SOUND_THROW_OBJ);      play_sound_map(op->map, op->x, op->y, SOUND_THROW_OBJ);
 #endif  #endif
 #ifdef PLUGINS  
 /* GROS - Now we can call the associated script_throw event (if any) */  /* GROS - Now we can call the associated script_throw event (if any) */
     if(throw_ob->event_hook[EVENT_THROW] != NULL)      if(throw_ob->event_hook[EVENT_THROW] != NULL)
     {      {
Line 1693
 
Line 1690
         if (findPlugin(throw_ob->event_plugin[k])>=0)          if (findPlugin(throw_ob->event_plugin[k])>=0)
             ((PlugList[findPlugin(throw_ob->event_plugin[k])].eventfunc) (&CFP));              ((PlugList[findPlugin(throw_ob->event_plugin[k])].eventfunc) (&CFP));
     }      }
 #endif  
 #ifdef DEBUG_THROW  #ifdef DEBUG_THROW
     LOG(llevDebug," pause_f=%d \n",pause_f);      LOG(llevDebug," pause_f=%d \n",pause_f);
     LOG(llevDebug," %s stats: wc=%d dam=%d dist=%d spd=%f break=%d\n",      LOG(llevDebug," %s stats: wc=%d dam=%d dist=%d spd=%f break=%d\n",


Legend:
line(s) removed in v.1.30 
line(s) changed
 line(s) added in v.1.31

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