diff options
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r-- | src/gui/npcdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 27a5dbf43..22cecebd2 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -336,6 +336,7 @@ void NpcDialog::action(const gcn::ActionEvent &event) return; printText = mTextField->getText(); Net::getNpcHandler()->stringInput(mNpcId, printText); + break; } case NPC_INPUT_INTEGER: { @@ -344,6 +345,7 @@ void NpcDialog::action(const gcn::ActionEvent &event) printText = strprintf("%d", mIntField->getValue()); Net::getNpcHandler()->integerInput( mNpcId, mIntField->getValue()); + break; } case NPC_INPUT_ITEM: { |