summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
author12xx12 <12xx12100@gmail.com>2020-09-17 16:16:20 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-09-20 02:40:20 +0200
commitf8de67aace4e65ff4c34a1f46f6d8b258b6839aa (patch)
tree51f60dd89e5abb7bcf14e11f087ef2d49c1fa096 /src/UI
parentFixed missing case: in entity damaging crashin the server (#4899) (diff)
downloadcuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.gz
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.bz2
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.lz
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.xz
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.zst
cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.zip
Diffstat (limited to 'src/UI')
-rw-r--r--src/UI/EnchantingWindow.cpp4
-rw-r--r--src/UI/EnchantingWindow.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/UI/EnchantingWindow.cpp b/src/UI/EnchantingWindow.cpp
index a3abf3a02..4ce4bebb3 100644
--- a/src/UI/EnchantingWindow.cpp
+++ b/src/UI/EnchantingWindow.cpp
@@ -11,8 +11,8 @@
-cEnchantingWindow::cEnchantingWindow(Vector3i a_BlockPos) :
- cWindow(wtEnchantment, "Enchant"),
+cEnchantingWindow::cEnchantingWindow(Vector3i a_BlockPos, const AString & a_Title) :
+ cWindow(wtEnchantment, a_Title),
m_SlotArea(),
m_BlockPos(a_BlockPos)
{
diff --git a/src/UI/EnchantingWindow.h b/src/UI/EnchantingWindow.h
index 5807d097e..4de5ed00c 100644
--- a/src/UI/EnchantingWindow.h
+++ b/src/UI/EnchantingWindow.h
@@ -22,7 +22,7 @@ class cEnchantingWindow:
public:
- cEnchantingWindow(Vector3i a_BlockPos);
+ cEnchantingWindow(Vector3i a_BlockPos, const AString & a_Title);
virtual void SetProperty(short a_Property, short a_Value, cPlayer & a_Player) override;