summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-24 10:47:17 +0200
committerGitHub <noreply@github.com>2020-05-24 10:47:17 +0200
commit19a0c8b462a6aa6858f8447b171b53a80106ea22 (patch)
tree40ac418dc725d9d17fd22d7b445029977e0ef7c5 /src/vehicles
parentMerge pull request #582 from Nick007J/miami (diff)
parentMenu borders and weapon fixes (diff)
downloadre3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.gz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.bz2
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.lz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.xz
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.tar.zst
re3-19a0c8b462a6aa6858f8447b171b53a80106ea22.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;