From 14c33024b7483cf1ff143bf81c77347a52af9727 Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Tue, 12 Apr 2016 01:02:33 +0100 Subject: [PATCH] Add missing break that was preventing sprinting --- rwgame/ingamestate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rwgame/ingamestate.cpp b/rwgame/ingamestate.cpp index 87a5ba50..3fe74aa9 100644 --- a/rwgame/ingamestate.cpp +++ b/rwgame/ingamestate.cpp @@ -340,6 +340,7 @@ void IngameState::handlePlayerInput(const sf::Event& event) default: break; } + break; case sf::Event::KeyReleased: switch(event.key.code) { case sf::Keyboard::LShift: