1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Do not list custom made classes in the pick class dialog

This commit is contained in:
scrawl 2016-03-21 11:46:25 +01:00
parent b332704df7
commit 90cc1de46c

View File

@ -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);