diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2011-11-29 18:36:03 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2011-11-29 18:36:03 +0100 |
commit | f8c3c5644223d810d3093d6dac600f19ea5f91c9 (patch) | |
tree | 8ebc9c4bc4783137ee0662a0557f74833a2dc380 /KeyboardController.cpp | |
parent | d1cc077361eeec8395d362b32f8b8022204d6d7d (diff) |
fixed keys on restart
Diffstat (limited to 'KeyboardController.cpp')
-rw-r--r-- | KeyboardController.cpp | 4 |
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)
{
|