Push sans les logs.
This commit is contained in:
parent
0a0c70883b
commit
b101add0e7
@ -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) {
|
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_sensitivity = normalizedPosition;
|
m_sensitivity = normalizedPosition;
|
||||||
std::cout << "Sensitivity PRESS: " << m_sensitivity << std::endl;
|
|
||||||
m_selectedGameplaySensitivityBar = true;
|
m_selectedGameplaySensitivityBar = true;
|
||||||
m_player.SetSensitivity(m_sensitivity);
|
m_player.SetSensitivity(m_sensitivity);
|
||||||
}
|
}
|
||||||
@ -2381,7 +2380,6 @@ void Engine::MouseReleaseEvent(const MOUSE_BUTTON& button, int x, int y) {
|
|||||||
normalizedPosition = 1.0f;
|
normalizedPosition = 1.0f;
|
||||||
}
|
}
|
||||||
m_sensitivity = normalizedPosition;
|
m_sensitivity = normalizedPosition;
|
||||||
std::cout << "Sensitivity RELEASE: " << m_sensitivity << std::endl;
|
|
||||||
m_player.SetSensitivity(m_sensitivity);
|
m_player.SetSensitivity(m_sensitivity);
|
||||||
}
|
}
|
||||||
m_mouseL = false;
|
m_mouseL = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user