mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Fixed RPG client prediction results stored in wrong pointer. (#206)
This commit is contained in:
parent
74b5543c83
commit
3674e3f154
@ -899,8 +899,8 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
|
|||||||
|
|
||||||
if( player.m_pActiveItem->m_iId == WEAPON_RPG )
|
if( player.m_pActiveItem->m_iId == WEAPON_RPG )
|
||||||
{
|
{
|
||||||
from->client.vuser2[1] = ( (CRpg *)player.m_pActiveItem)->m_fSpotActive;
|
to->client.vuser2[1] = ( (CRpg *)player.m_pActiveItem)->m_fSpotActive;
|
||||||
from->client.vuser2[2] = ( (CRpg *)player.m_pActiveItem)->m_cActiveRockets;
|
to->client.vuser2[2] = ( (CRpg *)player.m_pActiveItem)->m_cActiveRockets;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure that weapon animation matches what the game .dll is telling us
|
// Make sure that weapon animation matches what the game .dll is telling us
|
||||||
|
Loading…
Reference in New Issue
Block a user