diff options
author | aap <aap@papnet.eu> | 2020-07-04 21:24:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 21:24:11 +0200 |
commit | 1e679dcb8dddc7ebedaccea022929e3bc9f565c3 (patch) | |
tree | 4ff032e482ddd51e9128a5ee16adda5b70a8e0fb /src/vehicles/Automobile.cpp | |
parent | Peds & fixes (diff) | |
parent | CBoat and friends (diff) | |
download | re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.gz re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.bz2 re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.lz re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.xz re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.tar.zst re3-1e679dcb8dddc7ebedaccea022929e3bc9f565c3.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 925bc884..217b383f 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -3796,7 +3796,7 @@ void CAutomobile::DoDriveByShootings(void) { CAnimBlendAssociation *anim = nil; - CPlayerInfo* playerInfo = ((CPlayerPed*)this)->GetPlayerInfoForThisPlayerPed(); + CPlayerInfo* playerInfo = ((CPlayerPed*)pDriver)->GetPlayerInfoForThisPlayerPed(); if (playerInfo && !playerInfo->m_bDriveByAllowed) return; |