aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-09-05 23:11:25 +0200
committerBendegúz Nagy2016-09-05 23:11:25 +0200
commit0ae23fa2dbe645472d8bb5b430da728025aa1a9f (patch)
tree6755061700686b5439d8ec5b67af2c1f024f99d2
parent70906ba7ebf58601279fcb900ac910f983fc8c86 (diff)
downloadscummvm-rg350-0ae23fa2dbe645472d8bb5b430da728025aa1a9f.tar.gz
scummvm-rg350-0ae23fa2dbe645472d8bb5b430da728025aa1a9f.tar.bz2
scummvm-rg350-0ae23fa2dbe645472d8bb5b430da728025aa1a9f.zip
DM: Fix regression introduced in 901ba6f
Unable to place items directly into champions' hands
-rw-r--r--engines/dm/TODOs/todo.txt1
-rw-r--r--engines/dm/eventman.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/dm/TODOs/todo.txt b/engines/dm/TODOs/todo.txt
index 64110249a1..4309c984b5 100644
--- a/engines/dm/TODOs/todo.txt
+++ b/engines/dm/TODOs/todo.txt
@@ -5,7 +5,6 @@ Bugs:
Logic:
Items thrown on the right side end up on the left side
- Can't place torch in player's hand after loading, can do so only after brining up the inventory
Restarting the game after the party is dead segfaults
Todo:
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 76a54976dc..a4734ad9f5 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -355,7 +355,7 @@ void EventManager::initArrays() {
}
for (int i = 0; i < 13; i++)
- _mouseInputChampionNamesHands[13] = mouseInputChampionNamesHands[i];
+ _mouseInputChampionNamesHands[i] = mouseInputChampionNamesHands[i];
for (int i = 0; i < 19; i++)
_secondaryKeyboardInputMovement[i] = secondaryKeyboardInputMovement[i];