mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 03:22:43 +00:00
Merge branch 'miami' into lcs
# Conflicts: # src/control/Script.cpp # src/control/Script3.cpp # src/extras/custompipes_d3d9.cpp # src/extras/custompipes_gl.cpp
This commit is contained in:
@ -288,17 +288,17 @@ CAutomobile::ProcessControl(void)
|
||||
// Improve grip of vehicles in certain cases
|
||||
bool strongGrip1 = false;
|
||||
bool strongGrip2 = false;
|
||||
if(FindPlayerVehicle() && this != FindPlayerVehicle() &&
|
||||
if(FindPlayerVehicle() && this != FindPlayerVehicle() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 3 &&
|
||||
(AutoPilot.m_nCarMission == MISSION_RAMPLAYER_FARAWAY || AutoPilot.m_nCarMission == MISSION_RAMPLAYER_CLOSE ||
|
||||
AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_FARAWAY || AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_CLOSE)){
|
||||
if(FindPlayerSpeed().Magnitude() > 0.3f){
|
||||
strongGrip1 = true;
|
||||
if(FindPlayerSpeed().Magnitude() > 0.4f &&
|
||||
m_vecMoveSpeed.Magnitude() < 0.3f)
|
||||
strongGrip2 = true;
|
||||
else if((GetPosition() - FindPlayerCoors()).Magnitude() > 50.0f)
|
||||
strongGrip2 = true;
|
||||
}
|
||||
AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_FARAWAY || AutoPilot.m_nCarMission == MISSION_BLOCKPLAYER_CLOSE) &&
|
||||
FindPlayerSpeed().Magnitude() > 0.3f){
|
||||
|
||||
strongGrip1 = true;
|
||||
if(FindPlayerSpeed().Magnitude() > 0.4f &&
|
||||
m_vecMoveSpeed.Magnitude() < 0.3f)
|
||||
strongGrip2 = true;
|
||||
else if((GetPosition() - FindPlayerCoors()).Magnitude() > 50.0f)
|
||||
strongGrip2 = true;
|
||||
}else if(GetModelIndex() == MI_RCBANDIT && GetStatus() != STATUS_PLAYER_REMOTE)
|
||||
strongGrip1 = true;
|
||||
|
||||
|
@ -32,15 +32,15 @@
|
||||
|
||||
#define INVALID_ORIENTATION (-9999.99f)
|
||||
|
||||
float fShapeLength = 0.4f;
|
||||
float fShapeTime = 0.05f;
|
||||
float fRangeMult = 0.6f;
|
||||
float fTimeMult;
|
||||
|
||||
float CBoat::MAX_WAKE_LENGTH = 50.0f;
|
||||
float CBoat::MIN_WAKE_INTERVAL = 2.0f;
|
||||
float CBoat::WAKE_LIFETIME = 150.0f;
|
||||
|
||||
float fShapeLength = 0.4f;
|
||||
float fShapeTime = 0.05f;
|
||||
float fRangeMult = 0.6f;
|
||||
float fTimeMult = 1.2f/CBoat::WAKE_LIFETIME;
|
||||
|
||||
CBoat *CBoat::apFrameWakeGeneratingBoats[4];
|
||||
|
||||
const uint32 CBoat::nSaveStructSize =
|
||||
|
Reference in New Issue
Block a user