1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 17:20:00 +00:00

Merge remote-tracking branch 'origin/miami' into lcs

* origin/miami:
  bug of the decade
  big oof
  colmodel fix
This commit is contained in:
Sergeanur 2021-01-12 22:29:50 +02:00
commit f73e870bde
3 changed files with 5 additions and 3 deletions

View file

@ -24,7 +24,6 @@ CColModel::CColModel(void)
CColModel::~CColModel(void) CColModel::~CColModel(void)
{ {
RemoveCollisionVolumes(); RemoveCollisionVolumes();
RemoveTrianglePlanes();
} }
void* void*

View file

@ -106,7 +106,10 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
printf("Couldn't find zone - %s\n", zone); printf("Couldn't find zone - %s\n", zone);
return 0; return 0;
} }
while (zone_id >= 0) {
CTheZones::SetPedGroup(zone_id, ScriptParams[0], ScriptParams[1]); CTheZones::SetPedGroup(zone_id, ScriptParams[0], ScriptParams[1]);
zone_id = CTheZones::FindNextZoneByLabelAndReturnIndex(zone, ZONE_INFO);
}
return 0; return 0;
} }
case COMMAND_START_CAR_FIRE: case COMMAND_START_CAR_FIRE:

View file

@ -132,7 +132,7 @@ CPlayerInfo::Process(void)
CAutomobile *car = (CAutomobile*)m_pPed->m_pMyVehicle; CAutomobile *car = (CAutomobile*)m_pPed->m_pMyVehicle;
if (car->m_nWheelsOnGround < 3) if (car->m_nWheelsOnGround < 3)
m_nTimeNotFullyOnGround += CTimer::GetTimeInMilliseconds(); m_nTimeNotFullyOnGround += CTimer::GetTimeStepInMilliseconds();
else else
m_nTimeNotFullyOnGround = 0; m_nTimeNotFullyOnGround = 0;