Difference for server/timers.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 38
 
Line 38
 /*****************************************************************************/  /*****************************************************************************/
 void cftimer_process_event(object* ob)  void cftimer_process_event(object* ob)
 {  {
     CFParm CFP;      execute_event(ob, EVENT_TIMER,NULL,NULL,NULL,SCRIPT_FIX_ALL);
     int k, l, m;  
     uint32 n;  
     event *evt;  
   
     if ((evt = find_event(ob, EVENT_TIMER)) != NULL)  
     {  
         k = EVENT_TIMER;  
         l = SCRIPT_FIX_ALL;  
         m = 0;  
         n = 0;  
         CFP.Value[0] = &k;  
         CFP.Value[1] = ob;  
         CFP.Value[2] = NULL;  
         CFP.Value[3] = NULL;  
         CFP.Value[4] = NULL;  
         CFP.Value[5] = &n;  
         CFP.Value[6] = &m;  
         CFP.Value[7] = &m;  
         CFP.Value[8] = &l;  
         CFP.Value[9] = (void*)evt->hook;  
         CFP.Value[10]= (void*)evt->options;  
         if (findPlugin(evt->plugin)>=0)  
             ((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP));  
     }  
 }  }
   
 /*****************************************************************************/  /*****************************************************************************/


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

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