mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 08:00:47 +00:00
Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami
This commit is contained in:
@ -132,7 +132,11 @@ CBoat::ProcessControl(void)
|
||||
if(bRenderScorched)
|
||||
m_fBuoyancy *= 0.99f;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
if(FindPlayerPed() && FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
|
||||
#else
|
||||
if(FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
|
||||
#endif
|
||||
CVehicle *playerVeh = FindPlayerVehicle();
|
||||
if(playerVeh && playerVeh->GetVehicleAppearance() == VEHICLE_APPEARANCE_BOAT &&
|
||||
(AutoPilot.m_nCarMission == MISSION_RAMPLAYER_FARAWAY ||
|
||||
|
@ -34,7 +34,7 @@ void CCarGenerator::SwitchOff()
|
||||
|
||||
void CCarGenerator::SwitchOn()
|
||||
{
|
||||
m_nUsesRemaining = 255;
|
||||
m_nUsesRemaining = UINT16_MAX;
|
||||
m_nTimer = CalcNextGen();
|
||||
++CTheCarGenerators::CurrentActiveCount;
|
||||
}
|
||||
@ -141,10 +141,10 @@ void CCarGenerator::DoInternalProcessing()
|
||||
m_nVehicleHandle = CPools::GetVehiclePool()->GetIndex(pVehicle);
|
||||
/* I don't think this is a correct comparasion */
|
||||
#ifdef FIX_BUGS
|
||||
if (m_nUsesRemaining != 0)
|
||||
if (m_nUsesRemaining < UINT16_MAX)
|
||||
--m_nUsesRemaining;
|
||||
#else
|
||||
if (m_nUsesRemaining < -1)
|
||||
if (m_nUsesRemaining < ~0)
|
||||
--m_nUsesRemaining;
|
||||
#endif
|
||||
m_nTimer = CalcNextGen();
|
||||
|
@ -48,8 +48,10 @@ CDamageManager::FuckCarCompletely(void)
|
||||
#endif
|
||||
}
|
||||
// Why set to no damage?
|
||||
#ifndef FIX_BUGS
|
||||
m_lightStatus = 0;
|
||||
m_panelStatus = 0;
|
||||
#endif
|
||||
SetEngineStatus(250);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user