1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 17:15:32 +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);