From 144484e103cf468dbc70ecdf285de233d28aa957 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Dec 2017 05:12:23 +0300 Subject: Remove default parameters from equipmentwindow. --- src/game.cpp | 7 +++++-- src/gui/windows/equipmentwindow.h | 5 +++-- 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) -- cgit v1.2.3-70-g09d2