diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-01 21:55:17 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-01 21:55:17 +0200 |
commit | f8b9400713cbb96f61c1515132aa6af99c73d600 (patch) | |
tree | 7ec1ca42f4d23426b103ec89169c4dd57f7c6194 /src/Mobs/Pig.cpp | |
parent | merge (diff) | |
download | cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.gz cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.bz2 cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.lz cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.xz cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.zst cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.zip |
Diffstat (limited to 'src/Mobs/Pig.cpp')
-rw-r--r-- | src/Mobs/Pig.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Pig.cpp b/src/Mobs/Pig.cpp index ce5e9dca0..e6cc197bb 100644 --- a/src/Mobs/Pig.cpp +++ b/src/Mobs/Pig.cpp @@ -10,7 +10,7 @@ cPig::cPig(void) : - super("Pig", mtPig, "entity.pig.hurt", "entity.pig.death", 0.9, 0.9), + super(mtPig, "entity.pig.hurt", "entity.pig.death", 0.9, 0.9), m_bIsSaddled(false) { m_EMPersonality = PASSIVE; @@ -18,6 +18,7 @@ cPig::cPig(void) : m_BehaviorCoward.AttachToMonster(*this); m_BehaviorItemFollower.AttachToMonster(*this); m_BehaviorWanderer.AttachToMonster(*this); + GetMonsterConfig("Pig"); } |