summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-24 01:59:30 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-24 02:05:48 +0200
commit4870d9a31be6302037eb7ddcf0b99ea25ebccabc (patch)
tree51090b47226f961387b2aa5969b133d23d9b4f5e /src/vehicles
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.gz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.bz2
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.lz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.xz
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.tar.zst
re3-4870d9a31be6302037eb7ddcf0b99ea25ebccabc.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp2
-rw-r--r--src/vehicles/Boat.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index e260df93..dc406237 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -3030,7 +3030,7 @@ CAutomobile::ProcessBuoyancy(void)
void
CAutomobile::DoDriveByShootings(void)
{
- CAnimBlendAssociation *anim;
+ CAnimBlendAssociation *anim = nil;
CPlayerInfo* playerInfo = ((CPlayerPed*)this)->GetPlayerInfoForThisPlayerPed();
if (playerInfo && !playerInfo->m_bDriveByAllowed)
return;
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 483aa562..b9d97716 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -930,7 +930,7 @@ CBoat::AddWakePoint(CVector point)
void
CBoat::DoDriveByShootings(void)
{
- CAnimBlendAssociation *anim;
+ CAnimBlendAssociation *anim = nil;
CPlayerInfo* playerInfo = ((CPlayerPed*)this)->GetPlayerInfoForThisPlayerPed();
if (playerInfo && !playerInfo->m_bDriveByAllowed)
return;