summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-10 20:34:17 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-10 20:36:22 -0600
commit1b13d8557c8666e1017fd70a455830dbdcb9f46c (patch)
tree59ac497717ee78861d6e2dc64a35f4924efb8947 /src/gui/windowmenu.cpp
parent9af6e761373f25b56e815f1f75b44473474cf280 (diff)
downloadmana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.gz
mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.bz2
mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.tar.xz
mana-1b13d8557c8666e1017fd70a455830dbdcb9f46c.zip
Add SpecialsWindow
THis replaces the MagicWindow that the TMWServ build used and will be usable going forward for eAthena.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 96776617..b73558c0 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -41,11 +41,11 @@ extern Window *inventoryWindow;
extern Window *itemShortcutWindow;
extern Window *setupWindow;
extern Window *skillDialog;
+extern Window *specialsWindow;
extern Window *statusWindow;
#ifdef TMWSERV_SUPPORT
extern Window *buddyWindow;
extern Window *guildWindow;
-extern Window *magicDialog;
#endif
WindowMenu::WindowMenu():
@@ -59,8 +59,8 @@ WindowMenu::WindowMenu():
N_("Equipment"),
N_("Inventory"),
N_("Skills"),
+ N_("Specials"),
#ifdef TMWSERV_SUPPORT
- N_("Magic"),
N_("Guilds"),
N_("Buddies"),
#endif
@@ -129,11 +129,11 @@ void WindowMenu::action(const gcn::ActionEvent &event)
{
window = skillDialog;
}
-#ifdef TMWSERV_SUPPORT
- else if (event.getId() == "Magic")
+ else if (event.getId() == "Specials")
{
- window = magicDialog;
+ window = specialsWindow;
}
+#ifdef TMWSERV_SUPPORT
else if (event.getId() == "Guilds")
{
window = guildWindow;