pressed keys don't keep camera moving continously anymore ( has this side effects? )
This commit is contained in:
parent
5aa6092f1f
commit
6b63089612
|
@ -1295,7 +1295,8 @@ void Game::mouseMove(int x, int y, const MouseState *ms) {
|
|||
}
|
||||
else {
|
||||
//main window
|
||||
if(Window::isKeyDown() == false) {
|
||||
//if(Window::isKeyDown() == false)
|
||||
{
|
||||
if (y < 10) {
|
||||
gameCamera.setMoveZ(-scrollSpeed);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue