diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 05:12:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 05:12:23 +0300 |
commit | 144484e103cf468dbc70ecdf285de233d28aa957 (patch) | |
tree | ff9d8034e0f4a66439de1635427aad007f6919dd | |
parent | d10950aba8576a48314f05632935c38f99066591 (diff) | |
download | mv-144484e103cf468dbc70ecdf285de233d28aa957.tar.gz mv-144484e103cf468dbc70ecdf285de233d28aa957.tar.bz2 mv-144484e103cf468dbc70ecdf285de233d28aa957.tar.xz mv-144484e103cf468dbc70ecdf285de233d28aa957.zip |
Remove default parameters from equipmentwindow.
-rw-r--r-- | src/game.cpp | 7 | ||||
-rw-r--r-- | 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) |