summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-11 08:32:59 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-11 08:32:59 +0200
commit75f812cfcd08cddcd01cf58e9fa59d7844cb42c8 (patch)
treef270dec50b3cf1837c74fef435be48f9777b8b21 /src/control
parentFix a bunch of CModelInfo::GetModelInfo->GetColModel calls, part 2 (diff)
parentFix a bunch of CModelInfo::GetModelInfo->GetColModel calls (diff)
downloadre3-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/control')
-rw-r--r--src/control/RoadBlocks.cpp2
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;