From 9b43913596a5fee5c16ffa84a245baa39c0232fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 18:00:09 +0300 Subject: In DropShortcutContainer accept object with data from constructor. --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index ea006cefc..7c6dcca62 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -29,6 +29,7 @@ #include "animatedsprite.h" #include "client.h" #include "configuration.h" +#include "dropshortcut.h" #include "effectmanager.h" #include "emoteshortcut.h" #include "eventsmanager.h" @@ -212,7 +213,7 @@ static void createGuiWindows() 130, 480); outfitWindow = new OutfitWindow(); dropShortcutWindow = new ShortcutWindow("DropShortcut", - new DropShortcutContainer(nullptr), + new DropShortcutContainer(nullptr, dropShortcut), "drops.xml"); spellShortcutWindow = new ShortcutWindow("SpellShortcut", "spells.xml", -- cgit v1.2.3-60-g2f50