Avoid getListenerPos race condition
This commit is contained in:
parent
68240b5d2d
commit
96cd140c62
@ -300,7 +300,7 @@ public:
|
|||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
/** Returns the current position of the listener. */
|
/** Returns the current position of the listener. */
|
||||||
Vec3 getListenerPos() const { return m_listener_position.getData(); }
|
Vec3 getListenerPos() const { return m_listener_position.getAtomic(); }
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user