Skip to content

Commit

Permalink
Fixes wrong sending of the weaponmodel body group
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowsAdi committed Sep 2, 2024
1 parent dc16b12 commit 1f12398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/weapons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ void EXT_FUNC CBasePlayerWeapon::__API_HOOK(SendWeaponAnim)(int iAnim, int skipl

MESSAGE_BEGIN(MSG_ONE, SVC_WEAPONANIM, nullptr, m_pPlayer->pev);
WRITE_BYTE(iAnim); // sequence number
WRITE_BYTE(pev->body); // weaponmodel bodygroup.
WRITE_BYTE(m_pPlayer->pev->body); // weaponmodel bodygroup.
MESSAGE_END();
}

Expand Down

0 comments on commit 1f12398

Please sign in to comment.