mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 04: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
|
@ -7,6 +7,7 @@
|
|||
#include "Clock.h"
|
||||
#include "Text.h"
|
||||
#include "World.h"
|
||||
#include "Timer.h"
|
||||
|
||||
eLevelName CTheZones::m_CurrLevel;
|
||||
CZone *CTheZones::m_pPlayersZone;
|
||||
|
@ -122,6 +123,10 @@ CTheZones::Init(void)
|
|||
void
|
||||
CTheZones::Update(void)
|
||||
{
|
||||
#ifdef SQUEEZE_PERFORMANCE
|
||||
if (CTimer::GetFrameCounter() % 5 != 0)
|
||||
return;
|
||||
#endif
|
||||
CVector pos;
|
||||
pos = FindPlayerCoors();
|
||||
m_pPlayersZone = FindSmallestZonePosition(&pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue