diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-30 17:07:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 17:07:01 +0200 |
commit | e6b9c2013146af9271398d899caa346a0c5f04ff (patch) | |
tree | 837199146648e1b0b8d4f8dfdb14ddadd76d6fff /src | |
parent | fix fix fix (diff) | |
download | re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar.gz re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar.bz2 re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar.lz re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar.xz re3-e6b9c2013146af9271398d899caa346a0c5f04ff.tar.zst re3-e6b9c2013146af9271398d899caa346a0c5f04ff.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/control/RoadBlocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/RoadBlocks.cpp b/src/control/RoadBlocks.cpp index 572f8134..caf9ed34 100644 --- a/src/control/RoadBlocks.cpp +++ b/src/control/RoadBlocks.cpp @@ -174,7 +174,7 @@ CRoadBlocks::GenerateRoadBlocks(void) pVehicle->bExtendedRange = true; if (pVehicle->UsesSiren(pVehicle->GetModelIndex()) && CGeneral::GetRandomNumber() & 1) pVehicle->m_bSirenOrAlarm = true; - if (pVehicle->GetForward().z > 0.94f) { + if (pVehicle->GetUp().z > 0.94f) { CVisibilityPlugins::SetClumpAlpha(pVehicle->GetClump(), 0); CWorld::Add(pVehicle); pVehicle->bCreateRoadBlockPeds = true; |