diff options
author | aap <aap@papnet.eu> | 2021-01-08 23:43:56 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-08 23:43:56 +0100 |
commit | 14a5144de7c70831b2e3d0fc07c6a89c49caaa06 (patch) | |
tree | ee8bc32e8efde413f6d6fbde58340e6454e4ff3f /src/render | |
parent | anims done. ped fight hacked to compile (diff) | |
parent | Add Relocatable Chunk stubs (diff) | |
download | re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.gz re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.bz2 re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.lz re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.xz re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.zst re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.zip |
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 |