mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: The player setup menu set the playerlass CVAR to the actual class name, not the display name as expected.
SVN r3078 (trunk)
This commit is contained in:
parent
cc287d35a6
commit
f35b3b84af
1 changed files with 1 additions and 1 deletions
|
@ -912,7 +912,7 @@ void DPlayerMenu::ClassChanged (FListMenuItem *li)
|
|||
players[consoleplayer].userinfo.PlayerClass = sel-1;
|
||||
PickPlayerClass();
|
||||
|
||||
cvar_set ("playerclass", sel == 0 ? "Random" : PlayerClass->Type->TypeName);
|
||||
cvar_set ("playerclass", sel == 0 ? "Random" : PlayerClass->Type->Meta.GetMetaString (APMETA_DisplayName));
|
||||
|
||||
UpdateSkins();
|
||||
UpdateColorsets();
|
||||
|
|
Loading…
Reference in a new issue