Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 11bd682

Browse files
committed
Shells inherit horizontal flipping from the firearm
1 parent 2fb90b6 commit 11bd682

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Entities/HDFirearm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ void HDFirearm::Update()
856856
pShell->SetVel(m_Vel + shellVel);
857857
pShell->SetRotAngle(m_Rotation.GetRadAngle());
858858
pShell->SetAngularVel(pShell->GetAngularVel() + (m_ShellAngVelRange * RandomNormalNum()));
859+
pShell->SetHFlipped(m_HFlipped);
859860
// // Set the ejected shell to not hit this HeldDevice's parent, if applicable
860861
// if (m_FireIgnoresThis)
861862
// pParticle->SetWhichMOToNotHit(pRootParent, 1.0f);

0 commit comments

Comments
 (0)