Difference for server/time.c from version 1.83 to 1.84


version 1.83 version 1.84
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.83 2005/12/10 14:27:10 akirschbaum Exp $";   *    "$Id: time.c,v 1.84 2006/01/07 14:30:07 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 865
 
Line 865
     if (!tmp || QUERY_FLAG(tmp, FLAG_WIZPASS)) return;      if (!tmp || QUERY_FLAG(tmp, FLAG_WIZPASS)) return;
   
     if(EXIT_PATH(head)) {      if(EXIT_PATH(head)) {
  if(op->above->type==PLAYER) {   if(tmp->type==PLAYER) {
             /* Lauwenmark: Handle for plugin TRIGGER event */              /* Lauwenmark: Handle for plugin TRIGGER event */
             if (execute_event(op, EVENT_TRIGGER,op->above,NULL,NULL,SCRIPT_FIX_ALL) != 0)              if (execute_event(op, EVENT_TRIGGER, tmp, NULL, NULL, SCRIPT_FIX_ALL) != 0)
                 return;                  return;
      enter_exit(op->above, head);       enter_exit(tmp, head);
  }   }
  else   else
      /* Currently only players can transfer maps */       /* Currently only players can transfer maps */
Line 883
 
Line 883
      return;       return;
  }   }
         /* Lauwenmark: Handle for plugin TRIGGER event */          /* Lauwenmark: Handle for plugin TRIGGER event */
         if (execute_event(op, EVENT_TRIGGER,op->above,NULL,NULL,SCRIPT_FIX_ALL)!= 0)          if (execute_event(op, EVENT_TRIGGER, tmp, NULL, NULL, SCRIPT_FIX_ALL) != 0)
         return;          return;
  transfer_ob(tmp,EXIT_X(head),EXIT_Y(head),0,head);   transfer_ob(tmp,EXIT_X(head),EXIT_Y(head),0,head);
     }      }
     else {      else {
  /* Random teleporter */   /* Random teleporter */
         /* Lauwenmark: Handle for plugin TRIGGER event */          /* Lauwenmark: Handle for plugin TRIGGER event */
         if (execute_event(op, EVENT_TRIGGER,op->above,NULL,NULL,SCRIPT_FIX_ALL)!= 0)          if (execute_event(op, EVENT_TRIGGER, tmp, NULL, NULL, SCRIPT_FIX_ALL) != 0)
             return;              return;
  teleport(head, TELEPORTER, tmp);   teleport(head, TELEPORTER, tmp);
     }      }


Legend:
line(s) removed in v.1.83 
line(s) changed
 line(s) added in v.1.84

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