diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-01-01 14:01:06 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-01-01 14:01:06 +0100 |
commit | c05c516ce74853e7ea5cf684b74566b5f41b1e72 (patch) | |
tree | b61ad3c282178c537068216dbc94595001fe3763 /src/core/PlayerInfo.cpp | |
parent | bug fix (diff) | |
parent | Merge pull request #284 from Nick007J/master (diff) | |
download | re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar.gz re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar.bz2 re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar.lz re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar.xz re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.tar.zst re3-c05c516ce74853e7ea5cf684b74566b5f41b1e72.zip |
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r-- | src/core/PlayerInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp index fcdd60da..d9030250 100644 --- a/src/core/PlayerInfo.cpp +++ b/src/core/PlayerInfo.cpp @@ -435,7 +435,7 @@ CPlayerInfo::Process(void) if (CPad::GetPad(0)->ExitVehicleJustDown()) {
bool weAreOnBoat = false;
float lastClosestness = 0.0f;
- CVehicle *carBelow;
+ CVehicle *carBelow = nil;
CEntity *surfaceBelow = m_pPed->m_pCurrentPhysSurface;
if (surfaceBelow && surfaceBelow->IsVehicle()) {
carBelow = (CVehicle*)surfaceBelow;
|