--- deliantra/server/include/player.h 2006/09/05 18:18:09 1.13 +++ deliantra/server/include/player.h 2006/09/08 16:51:44 1.15 @@ -130,7 +130,6 @@ /* Try to put all the bitfields together - saves some small amount of memory */ uint32 braced:1; /* Will not move if braced, only attack */ uint32 tmp_invis:1; /* Will invis go away when we attack ? */ - shstr invis_race; /* What race invisible to? */ uint32 do_los:1; /* If true, need to call update_los() in draw(), and clear */ uint32 fire_on:1; /* Player should fire object, not move */ uint32 run_on:1; /* Player should keep moving in dir until run is off */ @@ -177,7 +176,6 @@ sint8 levgrace[11]; /* And same for grace */ char killer[BIG_NAME]; /* Who killed this player. */ - char last_tell[MAX_NAME]; /* last player that told you something [mids 01/14/2002] */ char write_buf[MAX_BUF]; /* Holds arbitrary input from client */ char input_buf[MAX_BUF]; /* Holds command to run */ @@ -210,11 +208,13 @@ struct pl *next; /* Pointer to next player, NULL if this is last */ NewSocket socket; /* Socket information for this player */ Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ + shstr invis_race; /* What race invisible to? */ void clear () { memset (static_cast(this), 0, sizeof (player_pod)); attachable_clear (); + invis_race = 0; for (int i = 0; i < NUM_OUTPUT_BUFS; i++) outputs[i].buf = 0;