diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-12-01 14:58:13 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-12-01 14:58:13 +0100 |
commit | bcbd73f7d80b0a64b87c30840048f99613308ce0 (patch) | |
tree | 5a2c61db0c715774fbc8a55918cdcd57c405c1aa /src/Mobs | |
parent | Merge branch 'master' into MobSpawner (diff) | |
download | cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.gz cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.bz2 cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.lz cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.xz cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.tar.zst cuberite-bcbd73f7d80b0a64b87c30840048f99613308ce0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 1 | ||||
-rw-r--r-- | src/Mobs/Monster.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 3011acd85..b8926e31d 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -21,6 +21,7 @@ /** Map for eType <-> string Needs to be alpha-sorted by the strings, because binary search is used in StringToMobType() The strings need to be lowercase (for more efficient comparisons in StringToMobType()) +m_VanillaName is the name that vanilla use for this mob. */ static const struct { diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 4903c38ad..f04e45ac6 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -136,7 +136,7 @@ public: /** Translates MobType enum to a string, empty string if unknown */ static AString MobTypeToString(eMonsterType a_MobType); - /** Translates MobType enum to the correct vanilla name of the mob, empty string if unknown. */ + /** Translates MobType enum to the vanilla name of the mob, empty string if unknown. */ static AString MobTypeToVanillaName(eMonsterType a_MobType); /** Translates MobType string to the enum, mtInvalidType if not recognized */ |