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


version 1.30 version 1.31
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_object_c =   * static char *rcsid_c_object_c =
  *   "$Id: c_object.c,v 1.30 2001/10/14 07:57:14 gros Exp $";   *   "$Id: c_object.c,v 1.31 2001/11/11 09:39:54 gros Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 563
 
Line 563
       if(tmp->event_hook[EVENT_DROP] != NULL)        if(tmp->event_hook[EVENT_DROP] != NULL)
       {        {
         CFParm CFP;          CFParm CFP;
         int k, l, m;          CFParm *CFR;
           int k, l, m, rtn_script;
         m = 0;          m = 0;
         k = EVENT_DROP;          k = EVENT_DROP;
         l = SCRIPT_FIX_ALL;          l = SCRIPT_FIX_ALL;
         CFP.Value[0] = &k;          CFP.Value[0] = &k;
         CFP.Value[1] = op;          CFP.Value[1] = op;
         CFP.Value[2] = tmp;          CFP.Value[2] = tmp;
         CFP.Value[3] = NULL;          CFP.Value[3] = &nrof;
         CFP.Value[4] = NULL;          CFP.Value[4] = NULL;
         CFP.Value[5] = &m;          CFP.Value[5] = &m;
         CFP.Value[6] = &m;          CFP.Value[6] = &m;
Line 579
 
Line 580
         CFP.Value[9] = tmp->event_hook[k];          CFP.Value[9] = tmp->event_hook[k];
         CFP.Value[10]= tmp->event_options[k];          CFP.Value[10]= tmp->event_options[k];
         if (findPlugin(tmp->event_plugin[k])>=0)          if (findPlugin(tmp->event_plugin[k])>=0)
           ((PlugList[findPlugin(tmp->event_plugin[k])].eventfunc) (&CFP));          {
             CFR = ((PlugList[findPlugin(tmp->event_plugin[k])].eventfunc) (&CFP));
             rtn_script = *(int *)(CFR->Value[0]);
             if (rtn_script!=0) return;
           }
       }        }
 #endif  #endif
     if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) {      if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) {


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:28