summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp7
-rw-r--r--src/gui/windows/equipmentwindow.h5
2 files changed, 8 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f625cc9e2..467c960e3 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -210,9 +210,12 @@ static void createGuiWindows()
CREATEWIDGETV0(tradeWindow, TradeWindow);
CREATEWIDGETV(equipmentWindow, EquipmentWindow,
PlayerInfo::getEquipment(),
- localPlayer);
+ localPlayer,
+ false);
CREATEWIDGETV(beingEquipmentWindow, EquipmentWindow,
- nullptr, nullptr, true);
+ nullptr,
+ nullptr,
+ true);
beingEquipmentWindow->setVisible(Visible_false);
CREATEWIDGETV0(statusWindow, StatusWindow);
CREATEWIDGETV0(miniStatusWindow, MiniStatusWindow);
diff --git a/src/gui/windows/equipmentwindow.h b/src/gui/windows/equipmentwindow.h
index b36174095..d8d4e91c9 100644
--- a/src/gui/windows/equipmentwindow.h
+++ b/src/gui/windows/equipmentwindow.h
@@ -55,8 +55,9 @@ class EquipmentWindow final : public Window,
/**
* Constructor.
*/
- EquipmentWindow(Equipment *const equipment, Being *const being,
- const bool foring = false);
+ EquipmentWindow(Equipment *const equipment,
+ Being *const being,
+ const bool foring);
A_DELETE_COPY(EquipmentWindow)