From 0ae23fa2dbe645472d8bb5b430da728025aa1a9f Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Mon, 5 Sep 2016 23:11:25 +0200 Subject: DM: Fix regression introduced in 901ba6f Unable to place items directly into champions' hands --- engines/dm/TODOs/todo.txt | 1 - engines/dm/eventman.cpp | 2 +- 2 files changed, 1 insertion(+), 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]; -- cgit v1.2.3