diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:16:28 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:13 +0200 |
commit | 404d3f7f2f9aa455bea423a6a00025df23cd6687 (patch) | |
tree | 27f6655b3345be1ab109433a55b0512dfe48cb34 /src/itemshortcut.cpp | |
parent | 1e1f619b9ae5aa26058c499c988f45d1fb1b6d53 (diff) | |
download | mana-404d3f7f2f9aa455bea423a6a00025df23cd6687.tar.gz mana-404d3f7f2f9aa455bea423a6a00025df23cd6687.tar.bz2 mana-404d3f7f2f9aa455bea423a6a00025df23cd6687.tar.xz mana-404d3f7f2f9aa455bea423a6a00025df23cd6687.zip |
Removed the Mana namespace
It's just an annoyance when it's only applied to a few classes. Either
we place everything in this namespace or nothing, and at the moment I
don't see any rationale for placing everything in a Mana namespace.
Acked-by: Jared Adams
Diffstat (limited to 'src/itemshortcut.cpp')
-rw-r--r-- | src/itemshortcut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index 51bd6b21..dfcbb3b6 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -74,13 +74,13 @@ void ItemShortcut::useItem(int index) if (item->getInfo().getEquippable()) { if (item->isEquipped()) - item->doEvent(Mana::Event::DoUnequip); + item->doEvent(Event::DoUnequip); else - item->doEvent(Mana::Event::DoEquip); + item->doEvent(Event::DoEquip); } else { - item->doEvent(Mana::Event::DoUse); + item->doEvent(Event::DoUse); } } } |