diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
commit | faa9e6441bc4b02362620d0cf599a8513744f4cc (patch) | |
tree | b26eccf8fbbda2a4af0b7f0b3cdacdb6c4253cef /src/render | |
parent | Add multisampling (diff) | |
download | re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.gz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.bz2 re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.lz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.xz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.zst re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.zip |
Diffstat (limited to 'src/render')
-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 |