--- deliantra/server/include/map.h 2006/08/26 08:44:06 1.9 +++ deliantra/server/include/map.h 2006/08/27 16:15:12 1.10 @@ -280,7 +280,7 @@ * break map tiling. */ struct mapstruct : extendable { - data_type get_dt () const { return DT_MAP; } + static data_type get_dt () { return DT_MAP; } struct mapstruct *next; /* Next map, linked list */ char *tmpname; /* Name of temporary file */