diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Defines.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Defines.cpp b/src/Defines.cpp index a016dba92..d0b6ff956 100644 --- a/src/Defines.cpp +++ b/src/Defines.cpp @@ -275,6 +275,7 @@ AString DamageTypeToString(eDamageType a_DamageType) case dtCactusContact: return "dtCactusContact"; case dtDrowning: return "dtDrowning"; case dtEnderPearl: return "dtEnderPearl"; + case dtEnvironment: return "dtEnvironment"; case dtFalling: return "dtFalling"; case dtFireContact: return "dtFireContact"; case dtInVoid: return "dtInVoid"; @@ -331,6 +332,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString) { dtPotionOfHarming, "dtPotionOfHarming"}, { dtAdmin, "dtAdmin"}, { dtExplosion, "dtExplosion"}, + { dtEnvironment, "dtEnvironment"}, // Common synonyms: { dtAttack, "dtPawnAttack"}, |