diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 17:04:43 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 17:04:43 +0200 |
commit | c2b9ddc5b8935dcd8de593c918f50886e0400319 (patch) | |
tree | 99f4d7dec983e7ad6f4071cc259c8c0de2eda2e2 /src/core/Camera.cpp | |
parent | Remove Miami stuff (diff) | |
download | re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar.gz re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar.bz2 re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar.lz re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar.xz re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.tar.zst re3-c2b9ddc5b8935dcd8de593c918f50886e0400319.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 3f4684e7..830a2bb2 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -934,11 +934,13 @@ CCamera::CamControl(void) if(CCullZones::CamStairsForPlayer() && CCullZones::FindZoneWithStairsAttributeForPlayer()) stairs = true; // Some hack for Mr Whoopee in a bomb shop +#ifndef MIAMI // uhh, check this if(Cams[ActiveCam].Using3rdPersonMouseCam() && CCollision::ms_collisionInMemory == LEVEL_COMMERCIAL){ if(pTargetEntity->GetPosition().x < 83.0f && pTargetEntity->GetPosition().x > 18.0f && pTargetEntity->GetPosition().y < -305.0f && pTargetEntity->GetPosition().y > -390.0f) disableGarageCam = true; } +#endif if(!disableGarageCam && (CGarages::IsPointInAGarageCameraZone(pTargetEntity->GetPosition()) || stairs)){ if(!m_bGarageFixedCamPositionSet && m_bLookingAtPlayer){ if(pToGarageWeAreIn || stairs){ |