summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2021-06-15 11:00:02 +0200
committerGitHub <noreply@github.com>2021-06-15 11:00:02 +0200
commit62e95745ac02e8f849f9f99dce08280e96c55bed (patch)
treef608b052eee9fa344c9a06401e5af7d2cff3adcd /src
parentAdded AArch64 to easyinstall.sh (#5237) (diff)
downloadcuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar.gz
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar.bz2
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar.lz
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar.xz
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.tar.zst
cuberite-62e95745ac02e8f849f9f99dce08280e96c55bed.zip
Diffstat (limited to 'src')
-rw-r--r--src/Item.cpp2
-rw-r--r--src/Mobs/Monster.cpp2
-rw-r--r--src/Mobs/Ocelot.cpp2
-rw-r--r--src/UI/AnvilWindow.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Item.cpp b/src/Item.cpp
index a6a464450..ba2a8db90 100644
--- a/src/Item.cpp
+++ b/src/Item.cpp
@@ -17,7 +17,7 @@ cItem::cItem():
m_ItemType(E_ITEM_EMPTY),
m_ItemCount(0),
m_ItemDamage(0),
- m_CustomName(""),
+ m_CustomName(),
m_RepairCost(0),
m_FireworkItem(),
m_ItemColor()
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index ae186d2bb..447e66261 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -90,7 +90,7 @@ cMonster::cMonster(const AString & a_ConfigName, eMonsterType a_MobType, const A
, m_IdleInterval(0)
, m_DestroyTimer(0)
, m_MobType(a_MobType)
- , m_CustomName("")
+ , m_CustomName()
, m_CustomNameAlwaysVisible(false)
, m_SoundHurt(a_SoundHurt)
, m_SoundDeath(a_SoundDeath)
diff --git a/src/Mobs/Ocelot.cpp b/src/Mobs/Ocelot.cpp
index 4b731154d..e095e827a 100644
--- a/src/Mobs/Ocelot.cpp
+++ b/src/Mobs/Ocelot.cpp
@@ -26,7 +26,7 @@ cOcelot::cOcelot(void) :
m_IsTame(false),
m_IsBegging(false),
m_CatType(ctWildOcelot),
- m_OwnerName("")
+ m_OwnerName()
{
}
diff --git a/src/UI/AnvilWindow.cpp b/src/UI/AnvilWindow.cpp
index 66499cbc9..6466575e0 100644
--- a/src/UI/AnvilWindow.cpp
+++ b/src/UI/AnvilWindow.cpp
@@ -12,7 +12,7 @@
cAnvilWindow::cAnvilWindow(Vector3i a_BlockPos) :
cWindow(wtAnvil, "Repair"),
- m_RepairedItemName(""),
+ m_RepairedItemName(),
m_BlockPos(a_BlockPos)
{
m_AnvilSlotArea = new cSlotAreaAnvil(*this);