DoInstantRepair matching

This commit is contained in:
Dethrace Labs 2025-12-29 03:50:08 -08:00 committed by Dethrace Engineering Department
parent f8ffb0a134
commit f7ded7b799
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ int DoInstantRepair(tPowerup* pPowerup, tCar_spec* pCar) {
if (pCar->driver == eDriver_local_human) {
TotallyRepairCar();
}
return GET_POWERUP_INDEX(gPowerup_array);
return GET_POWERUP_INDEX(pPowerup);
}
// IDA: void __usercall ResetPedSpeed(tPowerup *pPowerup@<EAX>, tCar_spec *pCar@<EDX>)