[saco] Match CPlayerPed::GetVehicleSeatID; retail reads dwAction instead of calling GetActionTrigger

This commit is contained in:
ricardoofnl
2026-09-03 00:09:48 +07:00
parent 7a2a87b68c
commit 1387bbcf00
+1 -1
View File
@@ -772,7 +772,7 @@ int CPlayerPed::GetVehicleSeatID()
{
VEHICLE_TYPE *pVehicle;
if( GetActionTrigger() == ACTION_INCAR && (pVehicle = (VEHICLE_TYPE *)m_pPed->pVehicle) != 0 ) {
if( (BYTE)m_pPed->dwAction == ACTION_INCAR && (pVehicle = (VEHICLE_TYPE *)m_pPed->pVehicle) != 0 ) {
if(pVehicle->pDriver == m_pPed) return 0;
if(pVehicle->pPassengers[0] == m_pPed) return 1;
if(pVehicle->pPassengers[1] == m_pPed) return 2;