mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
Squeeze performance option, minor fixes
Fixes are already in miami
This commit is contained in:
1 parent
a786dd45a4
commit
e14252914e
21 files changed
+181
-12
No files matched your search
@@ -105,6 +105,10 @@ CRoadBlocks::GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType
|
||||
void
|
||||
CRoadBlocks::GenerateRoadBlocks(void)
|
||||
{
|
||||
#ifdef SQUEEZE_PERFORMANCE
|
||||
if (FindPlayerPed()->m_pWanted->m_RoadblockDensity == 0)
|
||||
return;
|
||||
#endif
|
||||
CMatrix offsetMatrix;
|
||||
uint32 frame = CTimer::GetFrameCounter() & 0xF;
|
||||
int16 nRoadblockNode = (int16)(NUMROADBLOCKS * frame) / 16;
|
||||
|
||||
Reference in new issue
Block a user