summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-01-01 13:59:08 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-01-01 13:59:08 +0100
commita19a6a7c0fdf5b2b1ea95792d7784089628dda31 (patch)
tree1d6e4b0e930748f6364c680b5b7b094e2886e979 /src/core
parentmaking particleobject compile on vs2015 (diff)
downloadre3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar.gz
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar.bz2
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar.lz
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar.xz
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.tar.zst
re3-a19a6a7c0fdf5b2b1ea95792d7784089628dda31.zip
Diffstat (limited to '')
-rw-r--r--src/core/PlayerInfo.cpp2
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;