Difference for server/player.c from version 1.95 to 1.96


version 1.95 version 1.96
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.95 2002/09/23 06:27:54 mwedel Exp $";   *   "$Id: player.c,v 1.96 2002/09/28 07:19:40 mwedel Exp $";
  */   */
   
 /*  /*
Line 1828
 
Line 1828
  */   */
 int handle_newcs_player(object *op)  int handle_newcs_player(object *op)
 {  {
     if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) {      if (op->contr->hidden) {
    op->invisible = 1000;
    /* the socket code flasehs the player visible/invisible
    * depending on the value if invisible, so we need to
    * alternate it here for it to work correctly.
    */
    if (pticks & 2) op->invisible--;
       }
       else if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) {
  op->invisible--;   op->invisible--;
  if(!op->invisible) make_visible(op);   if(!op->invisible) make_visible(op);
     }      }


Legend:
line(s) removed in v.1.95 
line(s) changed
 line(s) added in v.1.96

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