- 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:
Christoph Oelckers 2010-12-26 09:01:36 +00:00
parent cc287d35a6
commit f35b3b84af
1 changed files with 1 additions and 1 deletions

View File

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