summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-16 14:41:24 +0000
committerIra Rice <irarice@gmail.com>2009-02-16 15:42:48 -0700
commitd2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c (patch)
treed02c3e0451df5d997e841a865943d411f1dc786e /src/gui/npcintegerdialog.cpp
parent4924e4a50ae31c30f783285f6e10ac3651c1e6e8 (diff)
downloadmana-client-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.gz
mana-client-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.bz2
mana-client-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.xz
mana-client-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.zip
Fixed up NPC dialogs to behave more like eAthena expects.
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 9db71d67..ea3398c9 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -100,7 +100,7 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event)
{
setVisible(false);
current_npc->integerInput(mValueField->getValue());
- current_npc = 0;
+ current_npc = NULL;
mValueField->reset();
}
}