Skip to content
Permalink
Browse files

Fix #1294: enable enter_exit for peds to fix alternative attack (#1295)

  • Loading branch information
Zangomangu committed Mar 15, 2020
1 parent 4b7432e commit 1c9c3dcab2cdc9c709a327edfd7e1550810cccde
Showing with 2 additions and 0 deletions.
  1. +2 −0 Client/mods/deathmatch/logic/CClientPad.cpp
@@ -242,6 +242,8 @@ void CClientPad::DoPulse(CClientPed* pPed)
(short)(((m_fStates[5] && m_fStates[6]) || (!m_fStates[5] && !m_fStates[6])) ? 0
: (m_fStates[5]) ? m_fStates[5] * -128 : m_fStates[6] * 128);

cs.ButtonTriangle = (m_fStates[9]) ? 255 : 0; // Get in/out and alternative fighting styles

cs.ButtonSquare = (m_fStates[11]) ? 255 : 0; // Jump

cs.ButtonCross = (m_fStates[12]) ? 255 : 0; // Sprint

0 comments on commit 1c9c3dc

Please sign in to comment.
You can’t perform that action at this time.