Skip to content

Commit

Permalink
Headshot code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DK22Pac committed May 1, 2017
1 parent 65e9c5f commit ab4f1b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions imfx/Headshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

void Headshot::DoHeadshot(CPed *ped, int bodyPartToRemove) {
if (bodyPartToRemove == 2 && ped->m_apBones[bodyPartToRemove]->m_pIFrame) {
ped->m_nPedFlags.bRemoveHead = true;
ped->m_nBodypartToRemove = bodyPartToRemove;
RwV3d position;
ped->GetBonePosition(position, 0, true);
FxSystem_c *particle = g_fxMan.CreateFxSystem("headshot", &position, 0, 0);
Expand Down

0 comments on commit ab4f1b4

Please sign in to comment.