[TextRenderer]: Fixed missing key on pc.
This commit is contained in:
parent
da15b3dd95
commit
564261f844
@ -186,7 +186,8 @@ namespace Components
|
||||
const char* TextRenderer::CG_DrawPlayerWeaponLowAmmoKey(const char* pszInputBuffer, const char* pszMessageType, int errType)
|
||||
{
|
||||
char binding[256];
|
||||
Game::UI_GetKeyBindingLocalizedString(0, "+usereload", binding, 0);
|
||||
if (!Game::UI_GetKeyBindingLocalizedString(0, "+usereload", binding, 0))
|
||||
std::strncpy(binding, "", sizeof(binding));
|
||||
const char* displayString = Game::UI_SafeTranslateString(pszInputBuffer);
|
||||
const char* localizedString = Game::UI_ReplaceConversionString(displayString, binding);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user