From f8c3c5644223d810d3093d6dac600f19ea5f91c9 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 29 Nov 2011 18:36:03 +0100 Subject: fixed keys on restart --- KeyboardController.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'KeyboardController.cpp') diff --git a/KeyboardController.cpp b/KeyboardController.cpp index 856be38..6ca5899 100644 --- a/KeyboardController.cpp +++ b/KeyboardController.cpp @@ -38,6 +38,10 @@ void KeyboardController::think() m_nextMove = NO_MOVE; } +void KeyboardController::reset() +{ + m_nextMove = NO_MOVE; +} KeyboardController::~KeyboardController(void) { -- cgit v1.2.3-70-g09d2