--- deliantra/server/common/shstr.C 2008/12/31 18:07:41 1.33 +++ deliantra/server/common/shstr.C 2008/12/31 18:25:12 1.34 @@ -130,7 +130,10 @@ } // declare these here to get correct initialisation order -#define def(str) const shstr shstr_ ## str (# str); + +#define def(str) \ + shstr_vec shstr_vec_ ## str = { sizeof (# str) - 1, 0xffffffff, # str }; \ + const shstr_const shstr_ ## str (shstr_vec_ ## str.string); # include "shstrinc.h" #undef def