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


version 1.96 version 1.97
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.96 2002/09/28 07:19:40 mwedel Exp $";   *   "$Id: player.c,v 1.97 2002/10/03 07:07:43 mwedel Exp $";
  */   */
   
 /*  /*
Line 1840
 
Line 1840
  op->invisible--;   op->invisible--;
  if(!op->invisible) make_visible(op);   if(!op->invisible) make_visible(op);
     }      }
   
       /* I've been seeing crashes where the golem has been destroyed, but
        * the player object still points to the defunct golem.  The code that
        * destroys the golem looks correct, and it doesn't always happen, so
        * put this in a a workaround to clean up the golem pointer.
        */
       if (op->contr->golem &&
    ((op->contr->golem_count != op->contr->golem->count) ||
    QUERY_FLAG(op->contr->golem, FLAG_REMOVED))) {
    op->contr->golem = NULL;
    op->contr->golem_count = 0;
       }
   
     /* call this here - we also will call this in do_ericserver, but      /* call this here - we also will call this in do_ericserver, but
      * the players time has been increased when doericserver has been       * the players time has been increased when doericserver has been
      * called, so we recheck it here.       * called, so we recheck it here.


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

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