mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 23:54:09 +00:00
Squeeze performance option, minor fixes
Fixes are already in miami
This commit is contained in:
parent
a786dd45a4
commit
e14252914e
21 changed files with 181 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue