--- deliantra/server/common/shstr.C 2007/07/01 05:00:18 1.24 +++ deliantra/server/common/shstr.C 2007/07/10 05:51:37 1.25 @@ -128,10 +128,12 @@ curpos = *i; } -shstr skill_names[NUM_SKILLS]; +// declare these here to get correct initialisation order +#define def(str) const shstr shstr_ ## str (# str); +# include "shstrinc.h" +#undef def -// what weird misoptimisation is this again? -const shstr undead_name ("undead"); +shstr skill_names[NUM_SKILLS]; //TODO: this should of course not be here