- try to encapsulate access to the player class's display name for printing purposes.
SVN r2839 (trunk)
This commit is contained in:
parent
0619a2677e
commit
583cbd49a6
6 changed files with 24 additions and 10 deletions
|
|
@ -351,7 +351,7 @@ void M_SetMenu(FName menu, int param)
|
|||
GameStartupInfo.Episode = -1;
|
||||
GameStartupInfo.PlayerClass =
|
||||
param == -1000? NULL :
|
||||
param == -1? "Random" : PlayerClasses[param].Type->Meta.GetMetaString (APMETA_DisplayName);
|
||||
param == -1? "Random" : GetPrintableDisplayName(PlayerClasses[param].Type);
|
||||
break;
|
||||
|
||||
case NAME_Skillmenu:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue