diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
commit | a0c7d1f61783e77e552896824855377e4bb43f8d (patch) | |
tree | e952181b83482abeffbd8ad9c62789b8f72e42e5 /src/gui/npcintegerdialog.cpp | |
parent | 9113afb868f6c1da5911437d3ddabdcf169cbec2 (diff) | |
download | mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.gz mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.bz2 mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.xz mana-a0c7d1f61783e77e552896824855377e4bb43f8d.zip |
Implement TMWServ's NpcHandler
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r-- | src/gui/npcintegerdialog.cpp | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp index 86dad4ab..7955214c 100644 --- a/src/gui/npcintegerdialog.cpp +++ b/src/gui/npcintegerdialog.cpp @@ -19,21 +19,21 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "button.h" -#include "inttextfield.h" -#include "npc_text.h" -#include "npcintegerdialog.h" +#include "gui/npcintegerdialog.h" -#include "widgets/layout.h" +#include "gui/button.h" +#include "gui/inttextfield.h" +#include "gui/npc_text.h" -#include "../npc.h" +#include "gui/widgets/layout.h" -#ifdef EATHENA_SUPPORT -#include "../net/ea/npchandler.h" -#endif +#include "npc.h" -#include "../utils/gettext.h" -#include "../utils/strprintf.h" +#include "net/net.h" +#include "net/npchandler.h" + +#include "utils/gettext.h" +#include "utils/strprintf.h" NpcIntegerDialog::NpcIntegerDialog() : Window(_("NPC Number Request")) @@ -118,10 +118,7 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event) setVisible(false); NPC::isTalking = false; - // Net::getNpcHandler()->integerInput(current_npc, mValueField->getValue()); -#ifdef EATHENA_SUPPORT - npcHandler->integerInput(current_npc, mValueField->getValue()); -#endif + Net::getNpcHandler()->integerInput(current_npc, mValueField->getValue()); mValueField->reset(); } |