Push avec sensibilité souris - version fusionnée au master courant.
This commit is contained in:
parent
879f93e2cd
commit
0a0c70883b
@ -2332,7 +2332,6 @@ void Engine::MousePressEvent(const MOUSE_BUTTON& button, int x, int y) {
|
|||||||
// Gameplay
|
// Gameplay
|
||||||
if (m_selectedOption == 2 && x > leftBar && x < rightBar && y > bottomBarPrincipal && y < topBarPrincipal) {
|
if (m_selectedOption == 2 && x > leftBar && x < rightBar && y > bottomBarPrincipal && y < topBarPrincipal) {
|
||||||
m_audio.playSound(AUDIO_PATH "snap.wav");
|
m_audio.playSound(AUDIO_PATH "snap.wav");
|
||||||
m_volSensible = x - leftBar;
|
|
||||||
m_sensitivity = normalizedPosition;
|
m_sensitivity = normalizedPosition;
|
||||||
std::cout << "Sensitivity PRESS: " << m_sensitivity << std::endl;
|
std::cout << "Sensitivity PRESS: " << m_sensitivity << std::endl;
|
||||||
m_selectedGameplaySensitivityBar = true;
|
m_selectedGameplaySensitivityBar = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user