diff options
author | Aiden Neill <aidenneill@gmail.com> | 2020-11-25 18:56:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 18:56:55 +0100 |
commit | 3d044d2dde2e348dc5c9f6a7fe44e914ef501878 (patch) | |
tree | 7f3ed1fa8aaccc27044bd8bc1a2a7cbfe87dbd49 /src/Defines.cpp | |
parent | Adding new monster types to enum and saving/loading for easier future implementation (#4941) (diff) | |
download | cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar.gz cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar.bz2 cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar.lz cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar.xz cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.tar.zst cuberite-3d044d2dde2e348dc5c9f6a7fe44e914ef501878.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Defines.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Defines.cpp b/src/Defines.cpp index d0b6ff956..7e4274bd5 100644 --- a/src/Defines.cpp +++ b/src/Defines.cpp @@ -273,6 +273,7 @@ AString DamageTypeToString(eDamageType a_DamageType) case dtAdmin: return "dtAdmin"; case dtAttack: return "dtAttack"; case dtCactusContact: return "dtCactusContact"; + case dtMagmaContact: return "dtMagmaContact"; case dtDrowning: return "dtDrowning"; case dtEnderPearl: return "dtEnderPearl"; case dtEnvironment: return "dtEnvironment"; @@ -323,6 +324,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString) { dtSuffocating, "dtSuffocation"}, { dtStarving, "dtStarving"}, { dtCactusContact, "dtCactusContact"}, + { dtMagmaContact, "dtMagmaContact"}, { dtLavaContact, "dtLavaContact"}, { dtPoisoning, "dtPoisoning"}, { dtWithering, "dtWithering"}, @@ -350,6 +352,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString) { dtCactusContact, "dtCactus"}, { dtCactusContact, "dtCactuses"}, { dtCactusContact, "dtCacti"}, + { dtMagmaContact, "dtMagma"}, { dtLavaContact, "dtLava"}, { dtPoisoning, "dtPoison"}, { dtWithering, "dtWither"}, |