diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-29 21:05:33 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-29 21:05:33 +0200 |
commit | 529cec565380b3c6689641ea427a1bf973014e02 (patch) | |
tree | 6caafab9dece0f1233f7ac9899d57b83ff421cce /src/render/Hud.cpp | |
parent | Merge pull request #603 from Fire-Head/miami (diff) | |
download | re3-529cec565380b3c6689641ea427a1bf973014e02.tar re3-529cec565380b3c6689641ea427a1bf973014e02.tar.gz re3-529cec565380b3c6689641ea427a1bf973014e02.tar.bz2 re3-529cec565380b3c6689641ea427a1bf973014e02.tar.lz re3-529cec565380b3c6689641ea427a1bf973014e02.tar.xz re3-529cec565380b3c6689641ea427a1bf973014e02.tar.zst re3-529cec565380b3c6689641ea427a1bf973014e02.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Hud.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 5d1542ef..85d30216 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -160,8 +160,7 @@ void CHud::Draw() eWeaponType WeaponType = playerPed->GetWeapon()->m_eWeaponType; int32 Mode = TheCamera.Cams[TheCamera.ActiveCam].Mode; - // TODO(Miami): New cam mode - if ((Mode == CCam::MODE_SNIPER || Mode == CCam::MODE_ROCKETLAUNCHER || Mode == CCam::MODE_M16_1STPERSON || Mode == CCam::MODE_HELICANNON_1STPERSON/* || Mode == 46*/) + if ((Mode == CCam::MODE_SNIPER || Mode == CCam::MODE_ROCKETLAUNCHER || Mode == CCam::MODE_M16_1STPERSON || Mode == CCam::MODE_HELICANNON_1STPERSON || Mode == CCam::MODE_CAMERA) && playerPed && !playerPed->GetWeapon()->IsTypeMelee()) DrawCrossHair = true; |