From cc2850190082b6feb3e5b6ccb5941caa91e36a7b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Apr 2012 03:28:22 +0300 Subject: Initialize joystick and keyboard mapping in game start. --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game.cpp b/src/game.cpp index 902411f69..a564cd4b2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -172,6 +172,10 @@ static void initEngines() DepricatedEvent::trigger(CHANNEL_GAME, DepricatedEvent(EVENT_ENGINESINITALIZED)); + + keyboard.update(); + if (joystick) + joystick->update(); } /** -- cgit v1.2.3-70-g09d2