aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dungeonman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/dungeonman.cpp')
-rw-r--r--engines/dm/dungeonman.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/dm/dungeonman.cpp b/engines/dm/dungeonman.cpp
index 050e031e3d..4e7dd9d8cd 100644
--- a/engines/dm/dungeonman.cpp
+++ b/engines/dm/dungeonman.cpp
@@ -905,7 +905,7 @@ T0172010_ClosedFakeWall:
}
} else {
aspectArray[AL0310_i_SideIndex + 1] = curSensor->getAttrOrnOrdinal();
- if (curSensor->getType() == k127_SensorWallChampionPortrait) {
+ if (curSensor->getType() == kDMSensorWallChampionPortrait) {
_vm->_displayMan->_championPortraitOrdinal = _vm->indexToOrdinal(curSensor->getData());
}
}
@@ -1623,29 +1623,29 @@ Thing DungeonMan::getObjForProjectileLaucherOrObjGen(uint16 iconIndex) {
switch (iconIndex) {
case kDMIconIndiceWeaponRock:
- junkType = k30_WeaponTypeRock;
+ junkType = kDMWeaponRock;
break;
case kDMIconIndiceJunkBoulder:
junkType = k25_JunkTypeBoulder;
thingType = kDMThingTypeJunk;
break;
case kDMIconIndiceWeaponArrow:
- junkType = k27_WeaponTypeArrow;
+ junkType = kDMWeaponArrow;
break;
case kDMIconIndiceWeaponSlayer:
- junkType = k28_WeaponTypeSlayer;
+ junkType = kDMWeaponSlayer;
break;
case kDMIconIndiceWeaponPoisonDart:
- junkType = k31_WeaponTypePoisonDart;
+ junkType = kDMWeaponPoisonDart;
break;
case kDMIconIndiceWeaponThrowingStar:
- junkType = k32_WeaponTypeThrowingStar;
+ junkType = kDMWeaponThrowingStar;
break;
case kDMIconIndiceWeaponDagger:
- junkType = k8_WeaponTypeDagger;
+ junkType = kDMWeaponDagger;
break;
case kDMIconIndiceWeaponTorchUnlit:
- junkType = k2_WeaponTypeTorch;
+ junkType = kDMWeaponTorch;
break;
default:
return Thing::_none;