summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-26 13:47:55 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-26 13:47:55 -0700
commit071b1c3126362967b0b6a837349b7c5e327574e9 (patch)
treefb24a1daeb6cd7a4afb777d50c790db2c107aa22 /src/gui/npcintegerdialog.cpp
parent3008805eea4b972265597ba196ab05ce64c69965 (diff)
downloadmana-071b1c3126362967b0b6a837349b7c5e327574e9.tar.gz
mana-071b1c3126362967b0b6a837349b7c5e327574e9.tar.bz2
mana-071b1c3126362967b0b6a837349b7c5e327574e9.tar.xz
mana-071b1c3126362967b0b6a837349b7c5e327574e9.zip
Don't clear current NPC early
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 9dc3660b..9778d790 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -119,7 +119,6 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event)
outMsg.writeInt32(current_npc);
outMsg.writeInt32(mValueField->getValue());
- current_npc = 0;
mValueField->reset();
}
}