diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 7a777f86..2073c0d3 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -165,8 +165,9 @@ Engine::Engine() requestTradeDialog = new RequestTradeDialog(); /* Menu items */ - std::vector<MenuItem> items; - items.push_back(MenuItem("First")); + std::vector<MenuItem*> items; + items.push_back(new MenuItem("First")); + items.push_back(new MenuItem("Second")); menu = new Menu("Menu", items); // Initialize window posisitons |