--- deliantra/server/include/player.h 2006/09/05 18:18:09 1.13 +++ deliantra/server/include/player.h 2006/09/05 18:59:18 1.14 @@ -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 */ @@ -210,11 +209,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;