Push avec sensibilité souris - version fusionnée au master courant.

This commit is contained in:
mduval76 2023-12-13 19:12:22 -05:00
parent 879f93e2cd
commit 0a0c70883b

View File

@ -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;