summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/popups/popupmenu.cpp1
-rw-r--r--src/gui/windows/worldselectdialog.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index bbe8358fc..3ef275aae 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -414,7 +414,6 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
// TRANSLATORS: popup menu item
// TRANSLATORS: add monster to ignore list
_("Add to ignore list"));
-
if (isAllowCommand(ServerCommandType::mobinfo))
{
mBrowserBox->addRow("/monsterinfo 'BEINGSUBTYPEID'",
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp
index f99467b5d..80ec2aaff 100644
--- a/src/gui/windows/worldselectdialog.cpp
+++ b/src/gui/windows/worldselectdialog.cpp
@@ -136,7 +136,6 @@ void WorldSelectDialog::keyPressed(KeyEvent &event)
if (actionId == InputAction::GUI_UP) {
event.consume();
-
if (mWorldList->getSelected() > 0) {
mWorldList->setSelected(mWorldList->getSelected() - 1);
}