--- deliantra/server/include/player.h 2006/08/26 08:44:06 1.6 +++ deliantra/server/include/player.h 2006/08/27 16:15:12 1.7 @@ -213,9 +213,9 @@ int stack_position; /* Current stack position, 0 for no item */ }; -typedef struct pl : extendable, player_memset +typedef struct pl : player_memset, extendable { - data_type get_dt () const { return DT_PLAYER; } + static data_type get_dt () { return DT_PLAYER; } struct pl *next; /* Pointer to next player, NULL if this is last */ NewSocket socket; /* Socket information for this player */