summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/MagmaCube.cpp4
-rw-r--r--src/Mobs/Slime.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/MagmaCube.cpp b/src/Mobs/MagmaCube.cpp
index 45dbbc519..28bc63ef9 100644
--- a/src/Mobs/MagmaCube.cpp
+++ b/src/Mobs/MagmaCube.cpp
@@ -10,8 +10,8 @@ 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()),
+ fmt::format(FMT_STRING("entity.{}magmacube.hurt"), GetSizeName(a_Size)),
+ fmt::format(FMT_STRING("entity.{}magmacube.death"), GetSizeName(a_Size)),
"",
0.51f * a_Size,
0.51f * a_Size
diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp
index 2aeecfc98..320fa3c8a 100644
--- a/src/Mobs/Slime.cpp
+++ b/src/Mobs/Slime.cpp
@@ -12,8 +12,8 @@
cSlime::cSlime(int a_Size) :
Super("Slime",
mtSlime,
- Printf("entity.%sslime.hurt", GetSizeName(a_Size).c_str()),
- Printf("entity.%sslime.death", GetSizeName(a_Size).c_str()),
+ fmt::format(FMT_STRING("entity.{}slime.hurt"), GetSizeName(a_Size)),
+ fmt::format(FMT_STRING("entity.{}slime.death"), GetSizeName(a_Size)),
"",
0.51f * a_Size,
0.51f * a_Size