From 1ba44aeb62414ea349e462b6d4fccbaac00be115 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Feb 2012 20:00:40 +0300 Subject: Fix drop counter if drop item from any slot and buggy servers protection activated. --- src/dropshortcut.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 79f895490..5b01f7f4f 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -133,6 +133,13 @@ void DropShortcut::dropItems(int cnt) if (!player_node) return; + + if (player_node->isServerBuggy()) + { + dropItem(player_node->getQuickDropCounter()); + return; + } + int n = 0; for (int f = 0; f < 9; f++) { -- cgit v1.2.3-70-g09d2