summaryrefslogtreecommitdiffstats
path: root/KeyboardController.cpp
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2011-11-29 18:36:03 +0100
committerDominique Martinet <asmadeus@codewreck.org>2011-11-29 18:36:03 +0100
commitf8c3c5644223d810d3093d6dac600f19ea5f91c9 (patch)
tree8ebc9c4bc4783137ee0662a0557f74833a2dc380 /KeyboardController.cpp
parentd1cc077361eeec8395d362b32f8b8022204d6d7d (diff)
fixed keys on restart
Diffstat (limited to 'KeyboardController.cpp')
-rw-r--r--KeyboardController.cpp4
1 files changed, 4 insertions, 0 deletions
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)
{