diff --git a/src_rebuild/GAME/C/HANDLING.C b/src_rebuild/GAME/C/HANDLING.C index d6ea71af..68493c27 100644 --- a/src_rebuild/GAME/C/HANDLING.C +++ b/src_rebuild/GAME/C/HANDLING.C @@ -2212,14 +2212,10 @@ void ProcessCarPad(_CAR_DATA *cp, ulong pad, char PadSteer, char use_analogue) else sVar2 = ((iVar3 + 278) * -4778) >> 8; - cp->thrust = sVar2; - cp->thrust = FIXEDH(cp->thrust * cp->ap.carCos->powerRatio); + cp->thrust = FIXEDH(sVar2 * cp->ap.carCos->powerRatio); } else if ((pad & 0x40) != 0) { - cp->thrust = 0x1333; - cp->thrust = FIXEDH(cp->ap.carCos->powerRatio * 0x1333); - if (cp->hndType == 5) { iVar7 = car_data[player[0].playerCarId].hd.where.t[0] - cp->hd.where.t[0] >> 10; @@ -2242,6 +2238,10 @@ void ProcessCarPad(_CAR_DATA *cp, ulong pad, char PadSteer, char use_analogue) cp->thrust = sVar2; } + else + { + cp->thrust = FIXEDH(cp->ap.carCos->powerRatio * 0x1333); + } if (cp->controlType == 1) { diff --git a/src_rebuild/GAME/C/WHEELFORCES.C b/src_rebuild/GAME/C/WHEELFORCES.C index b096788e..4fc300c4 100644 --- a/src_rebuild/GAME/C/WHEELFORCES.C +++ b/src_rebuild/GAME/C/WHEELFORCES.C @@ -28,6 +28,7 @@ _HANDLING_TYPE handlingType[7] = { 29, 0, 0, 0 } }; + // decompiled code // original method signature: // void /*$ra*/ StepCars()