summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-18 18:00:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-18 18:00:09 +0300
commit9b43913596a5fee5c16ffa84a245baa39c0232fc (patch)
tree0dc8767e12e06e1cf63bd5b6d860fb9c65c027a7 /src/game.cpp
parentc9958af6ca4680876b7a40809d51209e00f835fa (diff)
downloadplus-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.gz
plus-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.bz2
plus-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.xz
plus-9b43913596a5fee5c16ffa84a245baa39c0232fc.zip
In DropShortcutContainer accept object with data from constructor.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
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",