summaryrefslogtreecommitdiffstats
path: root/src/Mobs/MagmaCube.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-04-06 17:09:16 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-04-12 23:35:07 +0200
commit6e80f7544d786443d3028308e244b04dd8d5abcb (patch)
tree7d9cd372cefa110a4a7c14078a04e9829cba00f4 /src/Mobs/MagmaCube.cpp
parentStreamline player abilities handling (diff)
downloadcuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.gz
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.bz2
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.lz
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.xz
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.zst
cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/MagmaCube.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Mobs/MagmaCube.cpp b/src/Mobs/MagmaCube.cpp
index 369cda6d9..e84577433 100644
--- a/src/Mobs/MagmaCube.cpp
+++ b/src/Mobs/MagmaCube.cpp
@@ -7,7 +7,15 @@
cMagmaCube::cMagmaCube(int a_Size) :
- Super("MagmaCube", mtMagmaCube, Printf("entity.%smagmacube.hurt", GetSizeName(a_Size).c_str()), Printf("entity.%smagmacube.death", GetSizeName(a_Size).c_str()), "", 0.6 * a_Size, 0.6 * a_Size),
+ Super(
+ "MagmaCube",
+ mtMagmaCube,
+ Printf("entity.%smagmacube.hurt", GetSizeName(a_Size).c_str()),
+ Printf("entity.%smagmacube.death", GetSizeName(a_Size).c_str()),
+ "",
+ 0.51f * a_Size,
+ 0.51f * a_Size
+ ),
m_Size(a_Size)
{
}