diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-16 14:41:24 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-16 15:42:48 -0700 |
commit | d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c (patch) | |
tree | d02c3e0451df5d997e841a865943d411f1dc786e /src/gui/npcstringdialog.cpp | |
parent | 4924e4a50ae31c30f783285f6e10ac3651c1e6e8 (diff) | |
download | mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.gz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.bz2 mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.xz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.zip |
Fixed up NPC dialogs to behave more like eAthena expects.
Diffstat (limited to 'src/gui/npcstringdialog.cpp')
-rw-r--r-- | src/gui/npcstringdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp index 8d66d9bc..ef2de73a 100644 --- a/src/gui/npcstringdialog.cpp +++ b/src/gui/npcstringdialog.cpp @@ -24,12 +24,12 @@ #include "npcstringdialog.h" #include "textfield.h" +#include "widgets/layout.h" + #include "../npc.h" #include "../utils/gettext.h" -#include "widgets/layout.h" - NpcStringDialog::NpcStringDialog(): Window(_("NPC Text Request")) { @@ -65,7 +65,7 @@ void NpcStringDialog::action(const gcn::ActionEvent &event) setVisible(false); current_npc->stringInput(mValueField->getText()); - current_npc = 0; + current_npc = NULL; mValueField->setText(""); } |