diff options
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 3432f32c..1c870fd2 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -481,7 +481,7 @@ void CHud::Draw() CBaseModelInfo *weaponModel = CModelInfo::GetModelInfo(weaponInfo->m_nModelId); RwTexDictionary *weaponTxd = CTxdStore::GetSlot(weaponModel->GetTxdSlot())->texDict; if (weaponTxd) { - RwTexture *weaponIcon = RwTexDictionaryFindNamedTexture(weaponTxd, weaponModel->GetName()); + RwTexture *weaponIcon = RwTexDictionaryFindNamedTexture(weaponTxd, weaponModel->GetModelName()); if (weaponIcon) { RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR); #ifndef FIX_BUGS |