mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- fixed: DPlayerMenu::ClassChanged needs to call PickPlayerClass before setting the playerclass CVAR.
SVN r2806 (trunk)
This commit is contained in:
parent
ae3c60454f
commit
fa062aa141
1 changed files with 1 additions and 1 deletions
|
@ -899,11 +899,11 @@ void DPlayerMenu::ClassChanged (FListMenuItem *li)
|
|||
if (li->GetValue(0, &sel))
|
||||
{
|
||||
players[consoleplayer].userinfo.PlayerClass = sel-1;
|
||||
PickPlayerClass();
|
||||
|
||||
cvar_set ("playerclass",
|
||||
sel == 0 ? "Random" : PlayerClass->Type->Meta.GetMetaString (APMETA_DisplayName));
|
||||
|
||||
PickPlayerClass();
|
||||
UpdateSkins();
|
||||
UpdateColorsets();
|
||||
UpdateTranslation();
|
||||
|
|
Loading…
Reference in a new issue