- 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
|
|
@ -684,7 +684,7 @@ class CommandDrawString : public SBarInfoCommand
|
|||
if(statusBar->CPlayer->userinfo.PlayerClass != cache)
|
||||
{
|
||||
cache = statusBar->CPlayer->userinfo.PlayerClass;
|
||||
str = statusBar->CPlayer->cls->Meta.GetMetaString(APMETA_DisplayName);
|
||||
str = GetPrintableDisplayName(statusBar->CPlayer->cls);
|
||||
RealignString();
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue