support old data (eressea 1.0)

This commit is contained in:
Enno Rehling 2009-10-03 08:40:13 +00:00
parent da3a56efe2
commit 36a5e91eac
2 changed files with 3 additions and 3 deletions

View File

@ -1296,7 +1296,9 @@ readfaction(struct storage * store)
} }
read_groups(store, f); read_groups(store, f);
f->spellbook = NULL; f->spellbook = NULL;
read_spellist(&f->spellbook, store); if (store->version>=REGIONOWNER_VERSION) {
read_spellist(&f->spellbook, store);
}
return f; return f;
} }

View File

@ -9,8 +9,6 @@ function loadscript(name)
end end
end end
loadscript("default.lua")
function change_locales() function change_locales()
-- local localechange = { } -- local localechange = { }
local localechange = { de = { "rtph" } } local localechange = { de = { "rtph" } }