Push sans les logs.

This commit is contained in:
mduval76 2023-12-13 19:13:02 -05:00
parent 0a0c70883b
commit b101add0e7

View File

@ -2333,7 +2333,6 @@ void Engine::MousePressEvent(const MOUSE_BUTTON& button, int x, int y) {
if (m_selectedOption == 2 && x > leftBar && x < rightBar && y > bottomBarPrincipal && y < topBarPrincipal) {
m_audio.playSound(AUDIO_PATH "snap.wav");
m_sensitivity = normalizedPosition;
std::cout << "Sensitivity PRESS: " << m_sensitivity << std::endl;
m_selectedGameplaySensitivityBar = true;
m_player.SetSensitivity(m_sensitivity);
}
@ -2381,7 +2380,6 @@ void Engine::MouseReleaseEvent(const MOUSE_BUTTON& button, int x, int y) {
normalizedPosition = 1.0f;
}
m_sensitivity = normalizedPosition;
std::cout << "Sensitivity RELEASE: " << m_sensitivity << std::endl;
m_player.SetSensitivity(m_sensitivity);
}
m_mouseL = false;