aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dm/TODOs/todo.txt4
-rw-r--r--engines/dm/eventman.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/dm/TODOs/todo.txt b/engines/dm/TODOs/todo.txt
index e5cca0af12..b2bac2aa71 100644
--- a/engines/dm/TODOs/todo.txt
+++ b/engines/dm/TODOs/todo.txt
@@ -3,12 +3,12 @@ Bugs:
Broken colour palette
Portraits, alcoves etc. look broken from afar
Arrow and hand display is messed up
+ Items are displayed in the wrong cells
+ Levers look the same after pulling them
Logic:
When object are put on the right side of the current square, they disappear
Drawing door ornaments segfaults when going back to the start
- Placing one of the play icons from the top right corner into one of the champions' hands will crash the engine
- Sometimes putting stuff in the player's hand segfaults
Object display is a bit mixed up with regards to which cell is it drawn in
Method cthulu messes up the callstack
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 7ccf647e7d..ec25758b24 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -1149,7 +1149,7 @@ void EventManager::f282_commandProcessCommands160To162ClickInResurrectReincarnat
champ->resetSkillsToZero();
for (uint16 i = 0; i < 12; i++) {
- uint16 statIndex = _vm->_rnd->getRandomNumber(7);
+ uint16 statIndex = _vm->getRandomNumber(7);
champ->getStatistic((ChampionStatisticType)statIndex, k1_ChampionStatCurrent)++; // returns reference
champ->getStatistic((ChampionStatisticType)statIndex, k0_ChampionStatMaximum)++; // returns reference
}