From 280d650e9da62a00827a169cc0b414091ed61c97 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 4 Oct 2026 19:23:05 +0200 Subject: [PATCH] Revert "[saco] Match `CPlayerPed::GetVehicleSeatID`; retail reads `dwAction` instead of calling `GetActionTrigger`" This reverts commit 1387bbcf00a9ebfd8587a6aebb2af6b204e3f0d9. --- saco/game/playerped.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index 23cb75a..a1f27c4 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -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;