mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
misaligment fixes
This commit is contained in:
@@ -33,7 +33,7 @@ void C_VoteController::RecvProxy_VoteType( const CRecvProxyData *pData, void *pS
|
||||
if( pMe->m_iActiveIssueIndex == pData->m_Value.m_Int )
|
||||
return;
|
||||
|
||||
pMe->m_iActiveIssueIndex = pData->m_Value.m_Int;
|
||||
memcpy( &pMe->m_iActiveIssueIndex, &pData->m_Value.m_Int, sizeof(pData->m_Value.m_Int) );
|
||||
pMe->m_bTypeDirty = true;
|
||||
|
||||
// Since the contents of a new vote are in three parts, we can't directly send an event to the Hud
|
||||
@@ -186,4 +186,4 @@ void C_VoteController::FireGameEvent( IGameEvent *event )
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user