Difference for server/attack.c from version 1.67 to 1.68


version 1.67 version 1.68
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_attack_c =   * static char *rcsid_attack_c =
  *   "$Id: attack.c,v 1.67 2002/05/07 05:27:36 mwedel Exp $";   *   "$Id: attack.c,v 1.68 2002/05/14 06:47:44 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1331
 
Line 1331
       * and filter out malicious player killers - that is why the        * and filter out malicious player killers - that is why the
       * ip address is included.        * ip address is included.
       */        */
      if (op->type == PLAYER)        if (op->type == PLAYER && !battleg)  {
  LOG(llevInfo,"PLAYER_KILL_PLAYER: %s (%s) killed %s\n",   time_t t=time(NULL);
      owner->name, owner->contr->socket.host, query_name(op));   struct tm *tmv;
    char buf[256];
   
    tmv = localtime(&t);
    strftime(buf, 256,"%a %b %d %H:%M:%S %Y", tmv);
   
   
    LOG(llevInfo,"%s PLAYER_KILL_PLAYER: %s (%s) killed %s\n",
        buf, owner->name, owner->contr->socket.host, query_name(op));
        }
   
      /* This appears to be doing primitive filtering to only       /* This appears to be doing primitive filtering to only
       * display the more interesting monsters.        * display the more interesting monsters.
       */        */


Legend:
line(s) removed in v.1.67 
line(s) changed
 line(s) added in v.1.68

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