Use the 2.2 frame characters

This commit is contained in:
James R 2020-03-28 20:57:27 -07:00
parent 14fdc8a90a
commit 1b6256bd89

View file

@ -219,7 +219,7 @@ char *GetPlayerFacePic(INT32 skinnum);
// Future: [[ ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@ ]] // Future: [[ ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@ ]]
FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame) FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame)
{ {
#if 1 // 2.1 compat #if 0 // 2.1 compat
return 'A' + frame; return 'A' + frame;
#else #else
if (frame < 26) return 'A' + frame; if (frame < 26) return 'A' + frame;
@ -233,7 +233,7 @@ FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame)
FUNCMATH FUNCINLINE static ATTRINLINE UINT8 R_Char2Frame(char cn) FUNCMATH FUNCINLINE static ATTRINLINE UINT8 R_Char2Frame(char cn)
{ {
#if 1 // 2.1 compat #if 0 // 2.1 compat
if (cn == '+') return '\\' - 'A'; // PK3 can't use backslash, so use + instead if (cn == '+') return '\\' - 'A'; // PK3 can't use backslash, so use + instead
return cn - 'A'; return cn - 'A';
#else #else