aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-11 10:52:38 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit1f73323113c4194a8bc0ef41fcce88a1b8e37bd8 (patch)
tree9e288180ae90940acb57537d03448dc1d4a293b3 /engines/dm/dm.cpp
parent9272b18329de0a13a095f26b27a18c4a9023f485 (diff)
downloadscummvm-rg350-1f73323113c4194a8bc0ef41fcce88a1b8e37bd8.tar.gz
scummvm-rg350-1f73323113c4194a8bc0ef41fcce88a1b8e37bd8.tar.bz2
scummvm-rg350-1f73323113c4194a8bc0ef41fcce88a1b8e37bd8.zip
DM: Add proper keyboard input handling
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index f591399e2c..d6a4a26ab1 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -240,7 +240,8 @@ void DMEngine::f462_startGame() {
_eventMan->_g441_primaryMouseInput = g447_PrimaryMouseInput_Interface;
_eventMan->_g442_secondaryMouseInput = g448_SecondaryMouseInput_Movement;
- warning("MISSING CODE: set primary/secondary keyboard input");
+ _eventMan->_g443_primaryKeyboardInput = g458_primaryKeyboardInput_interface;
+ _eventMan->_g444_secondaryKeyboardInput = g459_secondaryKeyboardInput_movement;
f3_processNewPartyMap(_dungeonMan->_g309_partyMapIndex);