diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-22 10:39:13 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-22 10:39:13 +0100 |
commit | aebe130299a3c3d14a0d89e68195c303ca120c1b (patch) | |
tree | 7f4342e9556da307c1ebea5b802961c4f60f79d5 /source/Mobs/PassiveMonster.cpp | |
parent | Fixed linux compilation (diff) | |
download | cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.gz cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.bz2 cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.lz cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.xz cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.tar.zst cuberite-aebe130299a3c3d14a0d89e68195c303ca120c1b.zip |
Diffstat (limited to 'source/Mobs/PassiveMonster.cpp')
-rw-r--r-- | source/Mobs/PassiveMonster.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Mobs/PassiveMonster.cpp b/source/Mobs/PassiveMonster.cpp index 6224b284a..b11f7305d 100644 --- a/source/Mobs/PassiveMonster.cpp +++ b/source/Mobs/PassiveMonster.cpp @@ -8,7 +8,8 @@ -cPassiveMonster::cPassiveMonster(void) +cPassiveMonster::cPassiveMonster(const AString & a_ConfigName, char a_ProtocolMobType, const AString & a_SoundHurt, const AString & a_SoundDeath) : + super(a_ConfigName, a_ProtocolMobType, a_SoundHurt, a_SoundDeath) { m_EMPersonality = PASSIVE; } @@ -32,7 +33,7 @@ void cPassiveMonster::DoTakeDamage(TakeDamageInfo & a_TDI) void cPassiveMonster::Tick(float a_Dt) { - cMonster::Tick(a_Dt); + super::Tick(a_Dt); m_SeePlayerInterval += a_Dt; |