From 0227e5c51edb9eaa14be06fb9bb54a715fdd59c5 Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Fri, 28 Mar 2014 19:55:18 +0100 Subject: [PATCH] Minor formatting --- src/SFML/Audio/Listener.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SFML/Audio/Listener.cpp b/src/SFML/Audio/Listener.cpp index f47fa147..9b008387 100644 --- a/src/SFML/Audio/Listener.cpp +++ b/src/SFML/Audio/Listener.cpp @@ -43,7 +43,7 @@ namespace sf //////////////////////////////////////////////////////////// void Listener::setGlobalVolume(float volume) { - if (listenerVolume != volume) + if (volume != listenerVolume) { priv::ensureALInit(); @@ -63,7 +63,7 @@ float Listener::getGlobalVolume() //////////////////////////////////////////////////////////// void Listener::setPosition(float x, float y, float z) { - setPosition(sf::Vector3f(x, y, z)); + setPosition(Vector3f(x, y, z)); } @@ -90,7 +90,7 @@ Vector3f Listener::getPosition() //////////////////////////////////////////////////////////// void Listener::setDirection(float x, float y, float z) { - setDirection(sf::Vector3f(x, y, z)); + setDirection(Vector3f(x, y, z)); } @@ -118,7 +118,7 @@ Vector3f Listener::getDirection() //////////////////////////////////////////////////////////// void Listener::setUpVector(float x, float y, float z) { - setUpVector(sf::Vector3f(x, y, z)); + setUpVector(Vector3f(x, y, z)); }