--- deliantra/server/common/shstr.c 2006/02/03 07:11:40 1.1 +++ deliantra/server/common/shstr.c 2006/03/15 14:04:38 1.1.1.2 @@ -222,7 +222,7 @@ int query_refcount(const char *str) { - return SS(str)->refcount; + return (SS(str)->refcount) & ~TOPBIT; } /*