mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 03:00:01 +00:00
Merge pull request #721 from theR4K/miamiUpstream
fix for original bug in flying cars cheat
This commit is contained in:
commit
bc0bdd02f4
|
@ -732,7 +732,7 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_Driving(int32
|
||||||
if (FindPlayerVehicle() && (FindPlayerVehicle()->IsVehicle() && (
|
if (FindPlayerVehicle() && (FindPlayerVehicle()->IsVehicle() && (
|
||||||
FindPlayerVehicle()->GetModelIndex() == MI_DODO
|
FindPlayerVehicle()->GetModelIndex() == MI_DODO
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
|| CVehicle::bAllDodosCheat
|
|| (CVehicle::bAllDodosCheat && !FindPlayerVehicle()->IsRealHeli())
|
||||||
#ifdef ALLCARSHELI_CHEAT
|
#ifdef ALLCARSHELI_CHEAT
|
||||||
|| bAllCarCheat
|
|| bAllCarCheat
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1384,7 +1384,10 @@ CAutomobile::ProcessControl(void)
|
||||||
playRotorSound = true;
|
playRotorSound = true;
|
||||||
}
|
}
|
||||||
}else if((GetModelIndex() == MI_DODO || CVehicle::bAllDodosCheat) &&
|
}else if((GetModelIndex() == MI_DODO || CVehicle::bAllDodosCheat) &&
|
||||||
m_vecMoveSpeed.Magnitude() > 0.0f && CTimer::GetTimeStep() > 0.0f){
|
#ifdef FIX_BUGS
|
||||||
|
!IsRealHeli() &&
|
||||||
|
#endif
|
||||||
|
m_vecMoveSpeed.Magnitude() > 0.0f && CTimer::GetTimeStep() > 0.0f){
|
||||||
#ifdef ALT_DODO_CHEAT
|
#ifdef ALT_DODO_CHEAT
|
||||||
if (bAltDodoCheat)
|
if (bAltDodoCheat)
|
||||||
FlyingControl(FLIGHT_MODEL_PLANE);
|
FlyingControl(FLIGHT_MODEL_PLANE);
|
||||||
|
|
Loading…
Reference in a new issue