diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-10 08:01:53 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-10 08:01:53 +0100 |
commit | b6af7393e8494570de4bfa837ba2090c522b28bb (patch) | |
tree | aba068f1307a1a4e8c3d72adf69c0869f5c29f0e /src/objects/Stinger.cpp | |
parent | Controller menu (diff) | |
parent | fix clouds (diff) | |
download | re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.gz re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.bz2 re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.lz re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.xz re3-b6af7393e8494570de4bfa837ba2090c522b28bb.tar.zst re3-b6af7393e8494570de4bfa837ba2090c522b28bb.zip |
Diffstat (limited to 'src/objects/Stinger.cpp')
-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++) |