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:
parent
b332704df7
commit
90cc1de46c
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue