Reverting changes of HATO usage

parent 203c21e5
......@@ -2592,7 +2592,7 @@ void CVANetNetworkProtocol::ServerGetSoundReceiverRealWorldTorsoOrientation()
{
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
const VAQuat qHATOOrient = m_pRealCore->GetSoundReceiverRealWorldTorsoOrientation( iID );
const VAQuat qHATOOrient = m_pRealCore->GetSoundReceiverRealWorldHeadAboveTorsoOrientation( iID );
pMsg->WriteQuat( qHATOOrient );
}
......@@ -2609,7 +2609,7 @@ void CVANetNetworkProtocol::ServerSetSoundReceiverRealWorldTorsoOrientation()
CVANetMessage* pMsg = ServerGetMessage();
const int iID = pMsg->ReadInt();
const VAQuat qHATOOrient = pMsg->ReadQuat();
m_pRealCore->SetSoundReceiverRealWorldTorsoOrientation( iID, qHATOOrient );
m_pRealCore->SetSoundReceiverRealWorldHeadAboveTorsoOrientation( iID, qHATOOrient );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment