diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 18:00:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 18:00:09 +0300 |
commit | 9b43913596a5fee5c16ffa84a245baa39c0232fc (patch) | |
tree | 0dc8767e12e06e1cf63bd5b6d860fb9c65c027a7 /src/game.cpp | |
parent | c9958af6ca4680876b7a40809d51209e00f835fa (diff) | |
download | mv-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.gz mv-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.bz2 mv-9b43913596a5fee5c16ffa84a245baa39c0232fc.tar.xz mv-9b43913596a5fee5c16ffa84a245baa39c0232fc.zip |
In DropShortcutContainer accept object with data from constructor.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
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", |