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

This reverts commit 1387bbcf00.
This commit is contained in:
RD42 committed 2026-10-04 19:23:05 +02:00
1 parent a4fd8926df
commit 280d650e9d
1 file changed
+1 -1
+1 -1
View File
@@ -795,7 +795,7 @@ int CPlayerPed::GetVehicleSeatID()
{
VEHICLE_TYPE *pVehicle;
if( (BYTE)m_pPed->dwAction == ACTION_INCAR && (pVehicle = (VEHICLE_TYPE *)m_pPed->pVehicle) != 0 ) {
if( GetActionTrigger() == 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;