summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Endermite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Endermite.cpp')
-rw-r--r--src/Mobs/Endermite.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Mobs/Endermite.cpp b/src/Mobs/Endermite.cpp
index 3a89de98a..c511551ee 100644
--- a/src/Mobs/Endermite.cpp
+++ b/src/Mobs/Endermite.cpp
@@ -13,7 +13,15 @@
cEndermite::cEndermite() :
- Super("Endermite", mtEndermite, "entity.endermite.hurt", "entity.endermite.death", "entity.endermite.ambient", 0.4f, 0.3f),
+ Super(
+ "Endermite",
+ mtEndermite,
+ "entity.endermite.hurt",
+ "entity.endermite.death",
+ "entity.endermite.ambient",
+ 0.4f,
+ 0.3f
+ ),
m_Timer(0),
m_Lifetime(2 * 1000 * 60) // 2 minutes (2 * 1000 (mili to sec) * 60 (sec to min) * 2 because tick = 0.5 sec)
{
@@ -36,6 +44,5 @@ void cEndermite::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
Destroy();
}
-
}
}