Commit dff2fa61 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing bug, real world listener position and orientation getter was returning...

Fixing bug, real world listener position and orientation getter was returning virtual and not real values!
parent 560305a3
......@@ -3505,8 +3505,7 @@ void CVANetNetworkProtocol::ServerGetListenerRealWorldHeadPositionOrientationVU(
double px, py, pz;
double vx, vy, vz;
double ux, uy, uz;
m_pRealCore->GetListenerPositionOrientationVU( iListenerID, px, py, pz,
vx, vy, vz, ux, uy, uz );
m_pRealCore->GetListenerRealWorldHeadPositionOrientationVU( iListenerID, px, py, pz, vx, vy, vz, ux, uy, uz );
pMsg->WriteDouble( px );
pMsg->WriteDouble( py );
......@@ -3564,10 +3563,7 @@ void CVANetNetworkProtocol::ServerSetListenerRealWorldHeadPositionOrientationVU(
double uy = pMsg->ReadDouble();
double uz = pMsg->ReadDouble();
m_pRealCore->SetListenerRealWorldHeadPositionOrientationVU( iListenerID,
px, py, pz,
vx, vy, vz,
ux, uy, uz );
m_pRealCore->SetListenerRealWorldHeadPositionOrientationVU( iListenerID, px, py, pz, vx, vy, vz, ux, uy, uz );
}
......
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