summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
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;