API change adaption

parent b0df510b
......@@ -840,14 +840,14 @@ public:
m_pProtocol->ClientSetSoundReceiverRealWorldPose( iID, v3Pos, qOrient );
};
inline VAQuat GetSoundReceiverRealWorldTorsoOrientation( const int iID ) const
inline VAQuat GetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID ) const
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundReceiverRealWorldTorsoOrientation( iID );
};
inline void SetSoundReceiverRealWorldTorsoOrientation( const int iID, const VAQuat& qOrient )
inline void SetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient )
{
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
......
......@@ -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