summaryrefslogtreecommitdiff
path: root/src/net/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/npchandler.cpp')
-rw-r--r--src/net/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp
index c597e31c..3cea2d64 100644
--- a/src/net/npchandler.cpp
+++ b/src/net/npchandler.cpp
@@ -90,7 +90,7 @@ void NPCHandler::handleMessage(MessageIn *msg)
// Request for an integer
id = msg->readInt32();
current_npc = dynamic_cast<NPC*>(beingManager->findBeing(id));
- npcIntegerDialog->prepDialog(0, 0, 2147483647);
+ npcIntegerDialog->setRange(0, 2147483647);
npcIntegerDialog->setVisible(true);
break;