From 51e026a3aeb1716f69c6005cf4318220818bdcc5 Mon Sep 17 00:00:00 2001 From: 12xx12 <12xx12100@gmail.com> Date: Mon, 21 Sep 2020 23:23:01 +0200 Subject: added dtEnvironment to string conversion --- src/Defines.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Defines.cpp') 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"}, -- cgit v1.2.3