Do not list custom made classes in the pick class dialog

move
scrawl 9 years ago
parent b332704df7
commit 90cc1de46c

@ -199,6 +199,9 @@ namespace MWGui
if (!playable) // Only display playable classes
continue;
if (store.get<ESM::Class>().isDynamic(it->mId))
continue; // custom-made class not relevant for this dialog
items.push_back(std::make_pair(it->mId, it->mName));
}
std::sort(items.begin(), items.end(), sortClasses);

Loading…
Cancel
Save