aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/timeline.cpp
diff options
context:
space:
mode:
authorStrangerke2016-09-09 01:09:25 +0200
committerStrangerke2016-09-09 01:09:25 +0200
commitb365338293ab1bbad4deef5f2979639f360d77db (patch)
treec18037f008ed12e580618b601d7848a317432294 /engines/dm/timeline.cpp
parent7654c89d4f420d4277b06698ec60ce289f2d3892 (diff)
downloadscummvm-rg350-b365338293ab1bbad4deef5f2979639f360d77db.tar.gz
scummvm-rg350-b365338293ab1bbad4deef5f2979639f360d77db.tar.bz2
scummvm-rg350-b365338293ab1bbad4deef5f2979639f360d77db.zip
DM: Rename IconIndice enum
Diffstat (limited to 'engines/dm/timeline.cpp')
-rw-r--r--engines/dm/timeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/timeline.cpp b/engines/dm/timeline.cpp
index a69a0b2061..9100f9b856 100644
--- a/engines/dm/timeline.cpp
+++ b/engines/dm/timeline.cpp
@@ -930,7 +930,7 @@ T0255002:
while (curThing != Thing::_endOfList) {
if ((curThing.getCell() == cell) && (curThing.getType() == k10_JunkThingType)) {
int16 iconIndex = _vm->_objectMan->getIconIndex(curThing);
- if (iconIndex == k147_IconIndiceJunkChampionBones) {
+ if (iconIndex == kDMIconIndiceJunkChampionBones) {
Junk *junkData = (Junk *)_vm->_dungeonMan->getThingData(curThing);
if (junkData->getChargeCount() == championIndex) {
_vm->_dungeonMan->unlinkThingFromList(curThing, Thing(0), mapX, mapY); /* BUG0_25 When a champion dies, no bones object is created so it is not possible to bring the champion back to life at an altar of Vi. Each time a champion is brought back to life, the bones object is removed from the dungeon but it is not marked as unused and thus becomes an orphan. After a large number of champion deaths, all JUNK things are exhausted and the game cannot create any more. This also affects the creation of JUNK things dropped by some creatures when they die (Screamer, Rockpile, Magenta Worm, Pain Rat, Red Dragon) */