Allow the ghost to carry any weapon

This commit is contained in:
c0d3d3v 2022-03-01 22:14:02 +01:00
parent 2fd4389311
commit 5a621522b0
No known key found for this signature in database
GPG key ID: 068AF680530DFF31

View file

@ -52,7 +52,7 @@ void CGhost::GetNetObjCharacter(CNetObj_Character *pChar, const CGhostCharacter
pChar->m_VelY = 0;
pChar->m_Angle = pGhostChar->m_Angle;
pChar->m_Direction = pGhostChar->m_Direction;
pChar->m_Weapon = pGhostChar->m_Weapon == WEAPON_GRENADE ? WEAPON_GRENADE : WEAPON_GUN;
pChar->m_Weapon = pGhostChar->m_Weapon;
pChar->m_HookState = pGhostChar->m_HookState;
pChar->m_HookX = pGhostChar->m_HookX;
pChar->m_HookY = pGhostChar->m_HookY;