aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/projexpl.cpp
diff options
context:
space:
mode:
authorStrangerke2016-09-12 22:20:31 +0200
committerStrangerke2016-09-12 22:37:51 +0200
commit4e28542029792a495a4420e5feda6030c67365da (patch)
tree5689fde78ee557989296917185c0447a316c2064 /engines/dm/projexpl.cpp
parent668142e9055f491159d552ae0df27fa5c752f4f3 (diff)
downloadscummvm-rg350-4e28542029792a495a4420e5feda6030c67365da.tar.gz
scummvm-rg350-4e28542029792a495a4420e5feda6030c67365da.tar.bz2
scummvm-rg350-4e28542029792a495a4420e5feda6030c67365da.zip
DM: Rename some enums in DungeonMan
Diffstat (limited to 'engines/dm/projexpl.cpp')
-rw-r--r--engines/dm/projexpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/projexpl.cpp b/engines/dm/projexpl.cpp
index 7f8696f3d1..97463b606e 100644
--- a/engines/dm/projexpl.cpp
+++ b/engines/dm/projexpl.cpp
@@ -84,8 +84,8 @@ bool ProjExpl::hasProjectileImpactOccurred(int16 impactType, int16 mapXCombo, in
if (projectileAssociatedThingType == kDMThingTypePotion) {
Group *projectileAssociatedGroup = (Group *)_vm->_dungeonMan->getThingData(projectileAssociatedThing);
PotionType potionType = ((Potion *)projectileAssociatedGroup)->getType();
- if ((potionType == k3_PotionTypeVen) || (potionType == k19_PotionTypeFulBomb)) {
- explosionThing = (potionType == k3_PotionTypeVen) ? Thing::_explPoisonCloud: Thing::_explFireBall;
+ if ((potionType == kDMPotionTypeVen) || (potionType == kDMPotionTypeFulBomb)) {
+ explosionThing = (potionType == kDMPotionTypeVen) ? Thing::_explPoisonCloud: Thing::_explFireBall;
removePotion = true;
potionPower = ((Potion *)projectileAssociatedGroup)->getPower();
potion = (Potion *)projectileAssociatedGroup;