summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcpostdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/npcpostdialog.cpp')
-rw-r--r--src/gui/windows/npcpostdialog.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp
index 1adf01309..353ba1b4b 100644
--- a/src/gui/windows/npcpostdialog.cpp
+++ b/src/gui/windows/npcpostdialog.cpp
@@ -32,21 +32,19 @@
#include "gui/widgets/tabs/chat/chattab.h"
-#include "net/npchandler.h"
-
#include "utils/gettext.h"
#include "debug.h"
NpcPostDialog::DialogList NpcPostDialog::instances;
-NpcPostDialog::NpcPostDialog(const int npcId) :
+NpcPostDialog::NpcPostDialog(const int npcId A_UNUSED) :
// TRANSLATORS: npc post dialog caption
Window(_("NPC"), false, nullptr, "npcpost.xml"),
ActionListener(),
mText(new TextBox(this)),
- mSender(new TextField(this)),
- mNpcId(npcId)
+ mSender(new TextField(this))
+// mNpcId(npcId)
{
setContentSize(400, 180);
}