diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:32:59 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:32:59 +0200 |
commit | 75f812cfcd08cddcd01cf58e9fa59d7844cb42c8 (patch) | |
tree | f270dec50b3cf1837c74fef435be48f9777b8b21 /src | |
parent | Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls, part 2 (diff) | |
parent | Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls (diff) | |
download | re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar.gz re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar.bz2 re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar.lz re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar.xz re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.tar.zst re3-75f812cfcd08cddcd01cf58e9fa59d7844cb42c8.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 02afb7d8..e30313bf 100644 --- a/src/control/RoadBlocks.cpp +++ b/src/control/RoadBlocks.cpp @@ -60,7 +60,7 @@ CRoadBlocks::GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType CEntity* pEntityToAttack = (CEntity*)FindPlayerVehicle(); if (!pEntityToAttack) pEntityToAttack = (CEntity*)FindPlayerPed(); - CColModel *pPoliceColModel = CModelInfo::GetColModel(MI_POLICE); + CColModel* pPoliceColModel = CModelInfo::GetColModel(MI_POLICE); float fRadius = pVehicle->GetBoundRadius() / pPoliceColModel->boundingSphere.radius; for (int32 i = 0; i < 2; i++) { const int32 roadBlockIndex = i + 2 * roadBlockType; |