summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-21 08:48:54 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-21 08:48:54 +0000
commitb89398608993f2e50b7c7edd8aabe7cb1c1c216b (patch)
treeba71bfec8ce7fc3955f58bd24da702f86325528e /src/engine.cpp
parent77436e727119ae4d762d426efcd1d84748f9edea (diff)
downloadmana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.gz
mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.bz2
mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.tar.xz
mana-b89398608993f2e50b7c7edd8aabe7cb1c1c216b.zip
Fixed menu so it is working..
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp5
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