diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:24:49 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:24:49 +0100 |
commit | 94eed339409256ae92bc0a9c6f2f0ab6f036fae7 (patch) | |
tree | ac5ed50ebc73496ec00a4ad03b9ab2e7664affec /src/objects | |
parent | Detect joystick menu for XInput (diff) | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into VCSanim (diff) | |
download | re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.gz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.bz2 re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.lz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.xz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.zst re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/objects/Stinger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/Stinger.cpp b/src/objects/Stinger.cpp index b3660881..79730c89 100644 --- a/src/objects/Stinger.cpp +++ b/src/objects/Stinger.cpp @@ -87,10 +87,10 @@ void CStinger::Deploy(CPed *pPed) { if (NumOfStingerSegments < NUM_STINGER_SEGMENTS*2 && !pPed->bInVehicle && pPed->IsPedInControl()) { - if (!bIsDeployed && RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_WEAPON_THROWU) == nil) { + if (!bIsDeployed && RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_THROW_UNDER) == nil) { Init(pPed); pPed->SetPedState(PED_DEPLOY_STINGER); - CAnimManager::AddAnimation(pPed->GetClump(), ASSOCGRP_STD, ANIM_WEAPON_THROWU); + CAnimManager::AddAnimation(pPed->GetClump(), ASSOCGRP_STD, ANIM_STD_THROW_UNDER); } } } @@ -170,7 +170,7 @@ CStinger::Process() if (pOwner != nil && !pOwner->bInVehicle && pOwner->GetPedState() == PED_DEPLOY_STINGER - && RpAnimBlendClumpGetAssociation(pOwner->GetClump(), ANIM_WEAPON_THROWU)->currentTime > 0.39f) + && RpAnimBlendClumpGetAssociation(pOwner->GetClump(), ANIM_STD_THROW_UNDER)->currentTime > 0.39f) { m_nSpikeState = STINGERSTATE_DEPLOYING; for (int i = 0; i < NUM_STINGER_SEGMENTS; i++) |