--- deliantra/server/include/object.h 2006/08/26 23:36:32 1.7 +++ deliantra/server/include/object.h 2006/08/27 16:15:12 1.8 @@ -102,7 +102,7 @@ */ struct object_simple : extendable { - data_type get_dt () const { return DT_OBJECT; } + static data_type get_dt () { return DT_OBJECT; } /* These variables are not changed by copy_object() */ struct pl *contr; /* Pointer to the player which control this object */