mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 20:09:00 +00:00
Update Vehicle.cpp
This commit is contained in:
parent
e145593c28
commit
77051ddc78
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ CVehicle::FlyingControl(eFlightModel flightModel)
|
||||||
case FLIGHT_MODEL_PLANE:
|
case FLIGHT_MODEL_PLANE:
|
||||||
{
|
{
|
||||||
float fSteerLR = CPad::GetPad(0)->GetSteeringLeftRight() / 128.0f;
|
float fSteerLR = CPad::GetPad(0)->GetSteeringLeftRight() / 128.0f;
|
||||||
float fSteerUD = -CPad::GetPad(0)->GetSteeringUpDown() / 128.0f;
|
float fSteerUD = CPad::GetPad(0)->GetSteeringUpDown() / 128.0f;
|
||||||
float fGunUD = Abs(CPad::GetPad(0)->GetCarGunUpDown());
|
float fGunUD = Abs(CPad::GetPad(0)->GetCarGunUpDown());
|
||||||
if(fGunUD > 1.0f)
|
if(fGunUD > 1.0f)
|
||||||
fSteerUD = -CPad::GetPad(0)->GetCarGunUpDown() / 128.0f;
|
fSteerUD = -CPad::GetPad(0)->GetCarGunUpDown() / 128.0f;
|
||||||
|
|
Loading…
Reference in a new issue