summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.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/npclistdialog.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/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index 53d4f21f..f5479efc 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -128,8 +128,6 @@ void NpcListDialog::action(const gcn::ActionEvent &event)
outMsg.writeInt16(CMSG_NPC_LIST_CHOICE);
outMsg.writeInt32(current_npc);
outMsg.writeInt8(choice);
-
- current_npc = 0;
}
}